Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIAnalysis ¶
type APIAnalysis struct {
Routes []APIRoute
UsedTypes map[string]interface{} // Simplified for OpenAPI-based analysis
TypeDefs []TypeDefinition
HandlerFuncs map[string]interface{} // Simplified for OpenAPI-based analysis
ImportNamespaces map[string]bool
EnumTypes map[string]TypeDefinition
}
APIAnalysis contains the complete analysis results
type APIRoute ¶
type APIRoute struct {
Method string `json:"method"`
Path string `json:"path"`
Handler string `json:"handler"`
RequestType string `json:"requestType"`
ResponseType string `json:"responseType"`
Description string `json:"description"`
}
APIRoute represents a discovered API route
type FieldInfo ¶
type FieldInfo struct {
Name string `json:"name"`
TypeName string `json:"type"`
JSONTag string `json:"jsonTag"`
Optional bool `json:"optional"`
IsArray bool `json:"isArray"`
Description string `json:"description,omitempty"`
}
FieldInfo represents a field in a struct
Click to show internal directories.
Click to hide internal directories.