const OpenAPIVersion …
type openAPI …
func groupRoutesByPath(routes []common.Route) map[string][]common.Route { … }
func (o *openAPI) buildResponse(model interface{ … }
func (o *openAPI) buildOperations(route common.Route, inPathCommonParamsMap map[interface{ … }
func (o *openAPI) buildRequestBody(parameters []common.Parameter, consumes []string, bodySample interface{ … }
func newOpenAPI(config *common.OpenAPIV3Config) openAPI { … }
func (o *openAPI) buildOpenAPISpec(webServices []common.RouteContainer) error { … }
func BuildOpenAPISpec(webServices []*restful.WebService, config *common.OpenAPIV3Config) (*spec3.OpenAPI, error) { … }
func BuildOpenAPISpecFromRoutes(webServices []common.RouteContainer, config *common.OpenAPIV3Config) (*spec3.OpenAPI, error) { … }
func BuildOpenAPIDefinitionsForResources(config *common.OpenAPIV3Config, names ...string) (map[string]*spec.Schema, error) { … }
func (o *openAPI) findCommonParameters(routes []common.Route) (map[interface{ … }
func (o *openAPI) buildParameters(restParam []common.Parameter) (ret []*spec3.Parameter, err error) { … }
func (o *openAPI) buildParameter(restParam common.Parameter) (ret *spec3.Parameter, err error) { … }
func (o *openAPI) buildDefinitionRecursively(name string) error { … }
func (o *openAPI) buildDefinitionForType(name string) (string, error) { … }
func (o *openAPI) toSchema(name string) (_ *spec.Schema, err error) { … }