Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct {
HTTPMethod string
FullPath string
HandlerPackage string
HandlerName string
GoHandler types.Object
// ADDED: To hold metadata from the fluent builder
BuilderMetadata *respec.Builder
Spec *openapi3.Operation
}
Operation represents a single API endpoint (e.g., GET /users/{id}).
type RouteNode ¶
type RouteNode struct {
// ADDED: A reference to the Go variable for this router/group.
GoVar types.Object
PathPrefix string
Parent *RouteNode
Children []*RouteNode
Operations []*Operation
// Holds the names of security schemes inferred from middleware
InferredSecurity []string
}
RouteNode represents a single routing scope (a router or a group).
Click to show internal directories.
Click to hide internal directories.