Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FuncMap = template.FuncMap{
"requiredList": requiredList,
}
Functions ¶
This section is empty.
Types ¶
type Components ¶
type Components openapi3.Components
func (Components) AllProperties ¶
func (c Components) AllProperties() (result []openapi3.Schemas)
type Parameters ¶
type Parameters openapi3.Parameters
func FromParameterMap ¶
func FromParameterMap(paramMap openapi3.ParametersMap) Parameters
func (Parameters) ContainsRef ¶
func (r Parameters) ContainsRef() bool
func (Parameters) CountFields ¶
func (r Parameters) CountFields() int
func (Parameters) RefsUsed ¶
func (r Parameters) RefsUsed() []string
type RequestBody ¶
type RequestBody openapi3.RequestBodyRef
func (RequestBody) ContainsRef ¶
func (r RequestBody) ContainsRef() (result bool)
func (RequestBody) CountFields ¶
func (r RequestBody) CountFields() (result int)
func (RequestBody) RefsUsed ¶
func (r RequestBody) RefsUsed() (result []string)
func (RequestBody) Schemas ¶
func (r RequestBody) Schemas() (result openapi3.SchemaRefs)
type Response ¶
type Response openapi3.ResponseRef
func (Response) ContainsRef ¶
func (Response) CountFields ¶
type SchemaRef ¶
func (SchemaRef) AllSchemas ¶
func (s SchemaRef) AllSchemas() (result openapi3.SchemaRefs)
AllSchemas will return every schemaRef object associated with this object Will Include: - The base schema - All the schemas part of the AllOf array (recursively) - Items, if the schema is an array (recursively)
func (SchemaRef) HasAdditionalProperties ¶
HasAdditionalProperties returns true if the schema supports additionalProperties of any kind
Click to show internal directories.
Click to hide internal directories.