const OpenAPIVersion …
type openAPI …
func BuildOpenAPISpec(routeContainers []*restful.WebService, config *common.Config) (*spec.Swagger, error) { … }
func BuildOpenAPISpecFromRoutes(routeContainers []common.RouteContainer, config *common.Config) (*spec.Swagger, error) { … }
func BuildOpenAPIDefinitionsForResource(model interface{ … }
func BuildOpenAPIDefinitionsForResources(config *common.Config, names ...string) (*spec.Swagger, error) { … }
func newOpenAPI(config *common.Config) openAPI { … }
func (o *openAPI) finalizeSwagger() (*spec.Swagger, error) { … }
func (o *openAPI) buildDefinitionRecursively(name string) error { … }
func (o *openAPI) buildDefinitionForType(name string) (string, error) { … }
func (o *openAPI) buildPaths(routeContainers []common.RouteContainer) error { … }
func (o *openAPI) buildOperations(route common.Route, inPathCommonParamsMap map[interface{ … }
func (o *openAPI) buildResponse(model interface{ … }
func (o *openAPI) findCommonParameters(routes []common.Route) (map[interface{ … }
func (o *openAPI) toSchema(name string) (_ *spec.Schema, err error) { … }
func (o *openAPI) buildParameter(restParam common.Parameter, bodySample interface{ … }
func (o *openAPI) buildParameters(restParam []common.Parameter) (ret []spec.Parameter, err error) { … }