Documentation ¶
Index ¶
- func Docs(routes []*Route) (*spec.Swagger, error)
- func LogJSON(v any)
- func LogYAML(v any)
- func MarshalJSON(v interface{}) ([]byte, error)
- func MarshalYAML(v interface{}) ([]byte, error)
- func RegisterRoute(parser *swag.Parser, route *Route) error
- func SetOperation(pathItem *spec.PathItem, method string, operation *spec.Operation)
- func WriteDocs(docs *spec.Swagger, cfg *GenConfig) error
- type GenConfig
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJSON ¶
func MarshalYAML ¶
func SetOperation ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.