Versions in this module Expand all Collapse all v0 v0.2.69 Jun 7, 2024 v0.2.68 Jun 6, 2024 Changes in this version + type Collector struct + BasePath string + CombineErrors string + DefaultErrorResponseContentType string + DefaultSuccessResponseContentType string + func NewCollector(r openapi.Reflector) *Collector + func (c *Collector) Annotate(method, pattern string, setup ...func(op *openapi3.Operation) error) + func (c *Collector) AnnotateOperation(method, pattern string, setup ...func(oc openapi.OperationContext) error) + func (c *Collector) Collect(method, pattern string, u usecase.Interactor, h rest.HandlerTrait, ...) (err error) + func (c *Collector) CollectOperation(method, pattern string, annotations ...func(oc openapi.OperationContext) error) (err error) + func (c *Collector) CollectUseCase(method, pattern string, u usecase.Interactor, h rest.HandlerTrait, ...) (err error) + func (c *Collector) HasAnnotation(method, pattern string) bool + func (c *Collector) ProvideRequestJSONSchemas(method string, input interface{}, mapping rest.RequestMapping, ...) error + func (c *Collector) ProvideResponseJSONSchemas(statusCode int, contentType string, output interface{}, ...) error + func (c *Collector) Refl() openapi.Reflector + func (c *Collector) Reflector() *openapi3.Reflector + func (c *Collector) ServeHTTP(rw http.ResponseWriter, _ *http.Request) + func (c *Collector) SpecSchema() openapi.SpecSchema