analyzer

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analysis

type Analysis struct {
	BaseURL       string                      `json:"base_url"`
	Specification *parser.Specification       `json:"specification"`
	Timestamp     time.Time                   `json:"timestamp"`
	Insights      []string                    `json:"insights"`
	EndpointInfo  map[string]EndpointAnalysis `json:"endpoint_info"`
}

func AnalyzeAPI

func AnalyzeAPI(baseURL string, spec *parser.Specification) (*Analysis, error)

type EndpointAnalysis

type EndpointAnalysis struct {
	Path           string   `json:"path"`
	Method         string   `json:"method"`
	Purpose        string   `json:"purpose"`
	ExpectedInputs []string `json:"expected_inputs"`
	ExpectedOutput string   `json:"expected_output"`
	TestScenarios  []string `json:"test_scenarios"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL