Versions in this module Expand all Collapse all v0 v0.1.1 Jul 29, 2025 Changes in this version + type ContentConfig struct + ContentType string + HTTPStatus int + Structure any + type ContentOption func(cu *ContentConfig) + func WithContentType(contentType string) ContentOption + type OperationConfig struct + Deprecated bool + Description string + Hide bool + OperationID string + Requests []*ContentConfig + Responses []*ContentConfig + Security []RouteSecurity + Summary string + Tags []string + type OperationOption func(*OperationConfig) + func Deprecated(deprecated ...bool) OperationOption + func Description(description string) OperationOption + func Hide(hide ...bool) OperationOption + func ID(id string) OperationOption + func Request(structure any, options ...ContentOption) OperationOption + func Response(httpStatus int, structure any, options ...ContentOption) OperationOption + func Security(securityName string, scopes ...string) OperationOption + func Summary(summary string) OperationOption + func Tags(tags ...string) OperationOption + type RouteConfig struct + Hide bool + Name string + Security []RouteSecurity + Tags []string + type RouteOption func(*RouteConfig) + func WithRouteHide(hide ...bool) RouteOption + func WithRouteName(name string) RouteOption + func WithRouteSecurity(securityName string, scopes ...string) RouteOption + func WithRouteTags(tags ...string) RouteOption + type RouteSecurity struct + Name string + Scopes []string v0.1.0 Jul 28, 2025