openapi_v3

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 166

README

OpenAPI v3 Protocol Buffer Models

This directory contains a Protocol Buffer-language model and related code for supporting OpenAPI v3.

Gnostic applications and plugins can use OpenAPIv3.proto to generate Protocol Buffer support code for their preferred languages.

OpenAPIv3.go is used by Gnostic to read JSON and YAML OpenAPI descriptions into the Protocol Buffer-based datastructures generated from OpenAPIv3.proto.

OpenAPIv3.proto and OpenAPIv3.go are generated by the Gnostic compiler generator, and OpenAPIv3.pb.go is generated by protoc, the Protocol Buffer compiler, and protoc-gen-go, the Protocol Buffer Go code generation plugin.

openapi-3.1.json is a JSON schema for OpenAPI 3.1 that is automatically generated from the OpenAPI 3.1 specification. It is not an official JSON Schema for OpenAPI.

The schema-generator directory contains support code which generates openapi-3.1.json from the OpenAPI 3.1 specification document (Markdown).

How to rebuild

Run: COMPILE-PROTOS.sh

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	E_Document  = openapiv3.E_Document
	E_Operation = openapiv3.E_Operation
	E_Schema    = openapiv3.E_Schema
	E_Property  = openapiv3.E_Property
)
View Source
var File_openapiv3_OpenAPIv3_proto = openapiv3.File_openapiv3_OpenAPIv3_proto
View Source
var File_openapiv3_annotations_proto = openapiv3.File_openapiv3_annotations_proto

Functions

func Version

func Version() string

Version returns the package name (and OpenAPI version).

Types

type AdditionalPropertiesItem

type AdditionalPropertiesItem = openapiv3.AdditionalPropertiesItem

func NewAdditionalPropertiesItem

func NewAdditionalPropertiesItem(in *yaml.Node, context *compiler.Context) (*AdditionalPropertiesItem, error)

NewAdditionalPropertiesItem creates an object of type AdditionalPropertiesItem if possible, returning an error if not.

type AdditionalPropertiesItem_Boolean

type AdditionalPropertiesItem_Boolean = openapiv3.AdditionalPropertiesItem_Boolean

type Any

type Any = openapiv3.Any

func NewAny

func NewAny(in *yaml.Node, context *compiler.Context) (*Any, error)

NewAny creates an object of type Any if possible, returning an error if not.

type AnyOrExpression

type AnyOrExpression = openapiv3.AnyOrExpression

func NewAnyOrExpression

func NewAnyOrExpression(in *yaml.Node, context *compiler.Context) (*AnyOrExpression, error)

NewAnyOrExpression creates an object of type AnyOrExpression if possible, returning an error if not.

type AnyOrExpression_Any

type AnyOrExpression_Any = openapiv3.AnyOrExpression_Any

type AnyOrExpression_Expression

type AnyOrExpression_Expression = openapiv3.AnyOrExpression_Expression

type Callback

type Callback = openapiv3.Callback

func NewCallback

func NewCallback(in *yaml.Node, context *compiler.Context) (*Callback, error)

NewCallback creates an object of type Callback if possible, returning an error if not.

type CallbackOrReference

type CallbackOrReference = openapiv3.CallbackOrReference

func NewCallbackOrReference

func NewCallbackOrReference(in *yaml.Node, context *compiler.Context) (*CallbackOrReference, error)

NewCallbackOrReference creates an object of type CallbackOrReference if possible, returning an error if not.

type CallbackOrReference_Callback

type CallbackOrReference_Callback = openapiv3.CallbackOrReference_Callback

type CallbackOrReference_Reference

type CallbackOrReference_Reference = openapiv3.CallbackOrReference_Reference

type CallbacksOrReferences

type CallbacksOrReferences = openapiv3.CallbacksOrReferences

func NewCallbacksOrReferences

func NewCallbacksOrReferences(in *yaml.Node, context *compiler.Context) (*CallbacksOrReferences, error)

NewCallbacksOrReferences creates an object of type CallbacksOrReferences if possible, returning an error if not.

type Components

type Components = openapiv3.Components

func NewComponents

func NewComponents(in *yaml.Node, context *compiler.Context) (*Components, error)

NewComponents creates an object of type Components if possible, returning an error if not.

type Contact

type Contact = openapiv3.Contact

func NewContact

func NewContact(in *yaml.Node, context *compiler.Context) (*Contact, error)

NewContact creates an object of type Contact if possible, returning an error if not.

type DefaultType

type DefaultType = openapiv3.DefaultType

func NewDefaultType

func NewDefaultType(in *yaml.Node, context *compiler.Context) (*DefaultType, error)

NewDefaultType creates an object of type DefaultType if possible, returning an error if not.

type DefaultType_Boolean

type DefaultType_Boolean = openapiv3.DefaultType_Boolean

type DefaultType_Number

type DefaultType_Number = openapiv3.DefaultType_Number

type DefaultType_String_

type DefaultType_String_ = openapiv3.DefaultType_String_

type Discriminator

type Discriminator = openapiv3.Discriminator

func NewDiscriminator

func NewDiscriminator(in *yaml.Node, context *compiler.Context) (*Discriminator, error)

NewDiscriminator creates an object of type Discriminator if possible, returning an error if not.

type Document

type Document = openapiv3.Document

func NewDocument

func NewDocument(in *yaml.Node, context *compiler.Context) (*Document, error)

NewDocument creates an object of type Document if possible, returning an error if not.

func ParseDocument

func ParseDocument(b []byte) (*Document, error)

ParseDocument reads an OpenAPI v3 description from a YAML/JSON representation.

type Encoding

type Encoding = openapiv3.Encoding

func NewEncoding

func NewEncoding(in *yaml.Node, context *compiler.Context) (*Encoding, error)

NewEncoding creates an object of type Encoding if possible, returning an error if not.

type Encodings

type Encodings = openapiv3.Encodings

func NewEncodings

func NewEncodings(in *yaml.Node, context *compiler.Context) (*Encodings, error)

NewEncodings creates an object of type Encodings if possible, returning an error if not.

type Example

type Example = openapiv3.Example

func NewExample

func NewExample(in *yaml.Node, context *compiler.Context) (*Example, error)

NewExample creates an object of type Example if possible, returning an error if not.

type ExampleOrReference

type ExampleOrReference = openapiv3.ExampleOrReference

func NewExampleOrReference

func NewExampleOrReference(in *yaml.Node, context *compiler.Context) (*ExampleOrReference, error)

NewExampleOrReference creates an object of type ExampleOrReference if possible, returning an error if not.

type ExampleOrReference_Example

type ExampleOrReference_Example = openapiv3.ExampleOrReference_Example

type ExampleOrReference_Reference

type ExampleOrReference_Reference = openapiv3.ExampleOrReference_Reference

type ExamplesOrReferences

type ExamplesOrReferences = openapiv3.ExamplesOrReferences

func NewExamplesOrReferences

func NewExamplesOrReferences(in *yaml.Node, context *compiler.Context) (*ExamplesOrReferences, error)

NewExamplesOrReferences creates an object of type ExamplesOrReferences if possible, returning an error if not.

type Expression

type Expression = openapiv3.Expression

func NewExpression

func NewExpression(in *yaml.Node, context *compiler.Context) (*Expression, error)

NewExpression creates an object of type Expression if possible, returning an error if not.

type ExternalDocs

type ExternalDocs = openapiv3.ExternalDocs

func NewExternalDocs

func NewExternalDocs(in *yaml.Node, context *compiler.Context) (*ExternalDocs, error)

NewExternalDocs creates an object of type ExternalDocs if possible, returning an error if not.

type Header = openapiv3.Header

func NewHeader

func NewHeader(in *yaml.Node, context *compiler.Context) (*Header, error)

NewHeader creates an object of type Header if possible, returning an error if not.

type HeaderOrReference

type HeaderOrReference = openapiv3.HeaderOrReference

func NewHeaderOrReference

func NewHeaderOrReference(in *yaml.Node, context *compiler.Context) (*HeaderOrReference, error)

NewHeaderOrReference creates an object of type HeaderOrReference if possible, returning an error if not.

type HeaderOrReference_Header

type HeaderOrReference_Header = openapiv3.HeaderOrReference_Header

type HeaderOrReference_Reference

type HeaderOrReference_Reference = openapiv3.HeaderOrReference_Reference

type HeadersOrReferences

type HeadersOrReferences = openapiv3.HeadersOrReferences

func NewHeadersOrReferences

func NewHeadersOrReferences(in *yaml.Node, context *compiler.Context) (*HeadersOrReferences, error)

NewHeadersOrReferences creates an object of type HeadersOrReferences if possible, returning an error if not.

type Info

type Info = openapiv3.Info

func NewInfo

func NewInfo(in *yaml.Node, context *compiler.Context) (*Info, error)

NewInfo creates an object of type Info if possible, returning an error if not.

type ItemsItem

type ItemsItem = openapiv3.ItemsItem

func NewItemsItem

func NewItemsItem(in *yaml.Node, context *compiler.Context) (*ItemsItem, error)

NewItemsItem creates an object of type ItemsItem if possible, returning an error if not.

type License

type License = openapiv3.License

func NewLicense

func NewLicense(in *yaml.Node, context *compiler.Context) (*License, error)

NewLicense creates an object of type License if possible, returning an error if not.

type Link = openapiv3.Link
func NewLink(in *yaml.Node, context *compiler.Context) (*Link, error)

NewLink creates an object of type Link if possible, returning an error if not.

type LinkOrReference

type LinkOrReference = openapiv3.LinkOrReference

func NewLinkOrReference

func NewLinkOrReference(in *yaml.Node, context *compiler.Context) (*LinkOrReference, error)

NewLinkOrReference creates an object of type LinkOrReference if possible, returning an error if not.

type LinkOrReference_Link = openapiv3.LinkOrReference_Link

type LinkOrReference_Reference

type LinkOrReference_Reference = openapiv3.LinkOrReference_Reference

type LinksOrReferences

type LinksOrReferences = openapiv3.LinksOrReferences

func NewLinksOrReferences

func NewLinksOrReferences(in *yaml.Node, context *compiler.Context) (*LinksOrReferences, error)

NewLinksOrReferences creates an object of type LinksOrReferences if possible, returning an error if not.

type MediaType

type MediaType = openapiv3.MediaType

func NewMediaType

func NewMediaType(in *yaml.Node, context *compiler.Context) (*MediaType, error)

NewMediaType creates an object of type MediaType if possible, returning an error if not.

type MediaTypes

type MediaTypes = openapiv3.MediaTypes

func NewMediaTypes

func NewMediaTypes(in *yaml.Node, context *compiler.Context) (*MediaTypes, error)

NewMediaTypes creates an object of type MediaTypes if possible, returning an error if not.

type NamedAny

type NamedAny = openapiv3.NamedAny

func NewNamedAny

func NewNamedAny(in *yaml.Node, context *compiler.Context) (*NamedAny, error)

NewNamedAny creates an object of type NamedAny if possible, returning an error if not.

type NamedCallbackOrReference

type NamedCallbackOrReference = openapiv3.NamedCallbackOrReference

func NewNamedCallbackOrReference

func NewNamedCallbackOrReference(in *yaml.Node, context *compiler.Context) (*NamedCallbackOrReference, error)

NewNamedCallbackOrReference creates an object of type NamedCallbackOrReference if possible, returning an error if not.

type NamedEncoding

type NamedEncoding = openapiv3.NamedEncoding

func NewNamedEncoding

func NewNamedEncoding(in *yaml.Node, context *compiler.Context) (*NamedEncoding, error)

NewNamedEncoding creates an object of type NamedEncoding if possible, returning an error if not.

type NamedExampleOrReference

type NamedExampleOrReference = openapiv3.NamedExampleOrReference

func NewNamedExampleOrReference

func NewNamedExampleOrReference(in *yaml.Node, context *compiler.Context) (*NamedExampleOrReference, error)

NewNamedExampleOrReference creates an object of type NamedExampleOrReference if possible, returning an error if not.

type NamedHeaderOrReference

type NamedHeaderOrReference = openapiv3.NamedHeaderOrReference

func NewNamedHeaderOrReference

func NewNamedHeaderOrReference(in *yaml.Node, context *compiler.Context) (*NamedHeaderOrReference, error)

NewNamedHeaderOrReference creates an object of type NamedHeaderOrReference if possible, returning an error if not.

type NamedLinkOrReference

type NamedLinkOrReference = openapiv3.NamedLinkOrReference

func NewNamedLinkOrReference

func NewNamedLinkOrReference(in *yaml.Node, context *compiler.Context) (*NamedLinkOrReference, error)

NewNamedLinkOrReference creates an object of type NamedLinkOrReference if possible, returning an error if not.

type NamedMediaType

type NamedMediaType = openapiv3.NamedMediaType

func NewNamedMediaType

func NewNamedMediaType(in *yaml.Node, context *compiler.Context) (*NamedMediaType, error)

NewNamedMediaType creates an object of type NamedMediaType if possible, returning an error if not.

type NamedParameterOrReference

type NamedParameterOrReference = openapiv3.NamedParameterOrReference

func NewNamedParameterOrReference

func NewNamedParameterOrReference(in *yaml.Node, context *compiler.Context) (*NamedParameterOrReference, error)

NewNamedParameterOrReference creates an object of type NamedParameterOrReference if possible, returning an error if not.

type NamedPathItem

type NamedPathItem = openapiv3.NamedPathItem

func NewNamedPathItem

func NewNamedPathItem(in *yaml.Node, context *compiler.Context) (*NamedPathItem, error)

NewNamedPathItem creates an object of type NamedPathItem if possible, returning an error if not.

type NamedRequestBodyOrReference

type NamedRequestBodyOrReference = openapiv3.NamedRequestBodyOrReference

func NewNamedRequestBodyOrReference

func NewNamedRequestBodyOrReference(in *yaml.Node, context *compiler.Context) (*NamedRequestBodyOrReference, error)

NewNamedRequestBodyOrReference creates an object of type NamedRequestBodyOrReference if possible, returning an error if not.

type NamedResponseOrReference

type NamedResponseOrReference = openapiv3.NamedResponseOrReference

func NewNamedResponseOrReference

func NewNamedResponseOrReference(in *yaml.Node, context *compiler.Context) (*NamedResponseOrReference, error)

NewNamedResponseOrReference creates an object of type NamedResponseOrReference if possible, returning an error if not.

type NamedSchemaOrReference

type NamedSchemaOrReference = openapiv3.NamedSchemaOrReference

func NewNamedSchemaOrReference

func NewNamedSchemaOrReference(in *yaml.Node, context *compiler.Context) (*NamedSchemaOrReference, error)

NewNamedSchemaOrReference creates an object of type NamedSchemaOrReference if possible, returning an error if not.

type NamedSecuritySchemeOrReference

type NamedSecuritySchemeOrReference = openapiv3.NamedSecuritySchemeOrReference

func NewNamedSecuritySchemeOrReference

func NewNamedSecuritySchemeOrReference(in *yaml.Node, context *compiler.Context) (*NamedSecuritySchemeOrReference, error)

NewNamedSecuritySchemeOrReference creates an object of type NamedSecuritySchemeOrReference if possible, returning an error if not.

type NamedServerVariable

type NamedServerVariable = openapiv3.NamedServerVariable

func NewNamedServerVariable

func NewNamedServerVariable(in *yaml.Node, context *compiler.Context) (*NamedServerVariable, error)

NewNamedServerVariable creates an object of type NamedServerVariable if possible, returning an error if not.

type NamedString

type NamedString = openapiv3.NamedString

func NewNamedString

func NewNamedString(in *yaml.Node, context *compiler.Context) (*NamedString, error)

NewNamedString creates an object of type NamedString if possible, returning an error if not.

type NamedStringArray

type NamedStringArray = openapiv3.NamedStringArray

func NewNamedStringArray

func NewNamedStringArray(in *yaml.Node, context *compiler.Context) (*NamedStringArray, error)

NewNamedStringArray creates an object of type NamedStringArray if possible, returning an error if not.

type OauthFlow

type OauthFlow = openapiv3.OauthFlow

func NewOauthFlow

func NewOauthFlow(in *yaml.Node, context *compiler.Context) (*OauthFlow, error)

NewOauthFlow creates an object of type OauthFlow if possible, returning an error if not.

type OauthFlows

type OauthFlows = openapiv3.OauthFlows

func NewOauthFlows

func NewOauthFlows(in *yaml.Node, context *compiler.Context) (*OauthFlows, error)

NewOauthFlows creates an object of type OauthFlows if possible, returning an error if not.

type Object

type Object = openapiv3.Object

func NewObject

func NewObject(in *yaml.Node, context *compiler.Context) (*Object, error)

NewObject creates an object of type Object if possible, returning an error if not.

type Operation

type Operation = openapiv3.Operation

func NewOperation

func NewOperation(in *yaml.Node, context *compiler.Context) (*Operation, error)

NewOperation creates an object of type Operation if possible, returning an error if not.

type Parameter

type Parameter = openapiv3.Parameter

func NewParameter

func NewParameter(in *yaml.Node, context *compiler.Context) (*Parameter, error)

NewParameter creates an object of type Parameter if possible, returning an error if not.

type ParameterOrReference

type ParameterOrReference = openapiv3.ParameterOrReference

func NewParameterOrReference

func NewParameterOrReference(in *yaml.Node, context *compiler.Context) (*ParameterOrReference, error)

NewParameterOrReference creates an object of type ParameterOrReference if possible, returning an error if not.

type ParameterOrReference_Parameter

type ParameterOrReference_Parameter = openapiv3.ParameterOrReference_Parameter

type ParameterOrReference_Reference

type ParameterOrReference_Reference = openapiv3.ParameterOrReference_Reference

type ParametersOrReferences

type ParametersOrReferences = openapiv3.ParametersOrReferences

func NewParametersOrReferences

func NewParametersOrReferences(in *yaml.Node, context *compiler.Context) (*ParametersOrReferences, error)

NewParametersOrReferences creates an object of type ParametersOrReferences if possible, returning an error if not.

type PathItem

type PathItem = openapiv3.PathItem

func NewPathItem

func NewPathItem(in *yaml.Node, context *compiler.Context) (*PathItem, error)

NewPathItem creates an object of type PathItem if possible, returning an error if not.

type Paths

type Paths = openapiv3.Paths

func NewPaths

func NewPaths(in *yaml.Node, context *compiler.Context) (*Paths, error)

NewPaths creates an object of type Paths if possible, returning an error if not.

type Properties

type Properties = openapiv3.Properties

func NewProperties

func NewProperties(in *yaml.Node, context *compiler.Context) (*Properties, error)

NewProperties creates an object of type Properties if possible, returning an error if not.

type Reference

type Reference = openapiv3.Reference

func NewReference

func NewReference(in *yaml.Node, context *compiler.Context) (*Reference, error)

NewReference creates an object of type Reference if possible, returning an error if not.

type RequestBodiesOrReferences

type RequestBodiesOrReferences = openapiv3.RequestBodiesOrReferences

func NewRequestBodiesOrReferences

func NewRequestBodiesOrReferences(in *yaml.Node, context *compiler.Context) (*RequestBodiesOrReferences, error)

NewRequestBodiesOrReferences creates an object of type RequestBodiesOrReferences if possible, returning an error if not.

type RequestBody

type RequestBody = openapiv3.RequestBody

func NewRequestBody

func NewRequestBody(in *yaml.Node, context *compiler.Context) (*RequestBody, error)

NewRequestBody creates an object of type RequestBody if possible, returning an error if not.

type RequestBodyOrReference

type RequestBodyOrReference = openapiv3.RequestBodyOrReference

func NewRequestBodyOrReference

func NewRequestBodyOrReference(in *yaml.Node, context *compiler.Context) (*RequestBodyOrReference, error)

NewRequestBodyOrReference creates an object of type RequestBodyOrReference if possible, returning an error if not.

type RequestBodyOrReference_Reference

type RequestBodyOrReference_Reference = openapiv3.RequestBodyOrReference_Reference

type Response

type Response = openapiv3.Response

func NewResponse

func NewResponse(in *yaml.Node, context *compiler.Context) (*Response, error)

NewResponse creates an object of type Response if possible, returning an error if not.

type ResponseOrReference

type ResponseOrReference = openapiv3.ResponseOrReference

func NewResponseOrReference

func NewResponseOrReference(in *yaml.Node, context *compiler.Context) (*ResponseOrReference, error)

NewResponseOrReference creates an object of type ResponseOrReference if possible, returning an error if not.

type ResponseOrReference_Reference

type ResponseOrReference_Reference = openapiv3.ResponseOrReference_Reference

type ResponseOrReference_Response

type ResponseOrReference_Response = openapiv3.ResponseOrReference_Response

type Responses

type Responses = openapiv3.Responses

func NewResponses

func NewResponses(in *yaml.Node, context *compiler.Context) (*Responses, error)

NewResponses creates an object of type Responses if possible, returning an error if not.

type ResponsesOrReferences

type ResponsesOrReferences = openapiv3.ResponsesOrReferences

func NewResponsesOrReferences

func NewResponsesOrReferences(in *yaml.Node, context *compiler.Context) (*ResponsesOrReferences, error)

NewResponsesOrReferences creates an object of type ResponsesOrReferences if possible, returning an error if not.

type Schema

type Schema = openapiv3.Schema

func NewSchema

func NewSchema(in *yaml.Node, context *compiler.Context) (*Schema, error)

NewSchema creates an object of type Schema if possible, returning an error if not.

type SchemaOrReference

type SchemaOrReference = openapiv3.SchemaOrReference

func NewSchemaOrReference

func NewSchemaOrReference(in *yaml.Node, context *compiler.Context) (*SchemaOrReference, error)

NewSchemaOrReference creates an object of type SchemaOrReference if possible, returning an error if not.

type SchemaOrReference_Reference

type SchemaOrReference_Reference = openapiv3.SchemaOrReference_Reference

type SchemaOrReference_Schema

type SchemaOrReference_Schema = openapiv3.SchemaOrReference_Schema

type SchemasOrReferences

type SchemasOrReferences = openapiv3.SchemasOrReferences

func NewSchemasOrReferences

func NewSchemasOrReferences(in *yaml.Node, context *compiler.Context) (*SchemasOrReferences, error)

NewSchemasOrReferences creates an object of type SchemasOrReferences if possible, returning an error if not.

type SecurityRequirement

type SecurityRequirement = openapiv3.SecurityRequirement

func NewSecurityRequirement

func NewSecurityRequirement(in *yaml.Node, context *compiler.Context) (*SecurityRequirement, error)

NewSecurityRequirement creates an object of type SecurityRequirement if possible, returning an error if not.

type SecurityScheme

type SecurityScheme = openapiv3.SecurityScheme

func NewSecurityScheme

func NewSecurityScheme(in *yaml.Node, context *compiler.Context) (*SecurityScheme, error)

NewSecurityScheme creates an object of type SecurityScheme if possible, returning an error if not.

type SecuritySchemeOrReference

type SecuritySchemeOrReference = openapiv3.SecuritySchemeOrReference

func NewSecuritySchemeOrReference

func NewSecuritySchemeOrReference(in *yaml.Node, context *compiler.Context) (*SecuritySchemeOrReference, error)

NewSecuritySchemeOrReference creates an object of type SecuritySchemeOrReference if possible, returning an error if not.

type SecuritySchemesOrReferences

type SecuritySchemesOrReferences = openapiv3.SecuritySchemesOrReferences

func NewSecuritySchemesOrReferences

func NewSecuritySchemesOrReferences(in *yaml.Node, context *compiler.Context) (*SecuritySchemesOrReferences, error)

NewSecuritySchemesOrReferences creates an object of type SecuritySchemesOrReferences if possible, returning an error if not.

type Server

type Server = openapiv3.Server

func NewServer

func NewServer(in *yaml.Node, context *compiler.Context) (*Server, error)

NewServer creates an object of type Server if possible, returning an error if not.

type ServerVariable

type ServerVariable = openapiv3.ServerVariable

func NewServerVariable

func NewServerVariable(in *yaml.Node, context *compiler.Context) (*ServerVariable, error)

NewServerVariable creates an object of type ServerVariable if possible, returning an error if not.

type ServerVariables

type ServerVariables = openapiv3.ServerVariables

func NewServerVariables

func NewServerVariables(in *yaml.Node, context *compiler.Context) (*ServerVariables, error)

NewServerVariables creates an object of type ServerVariables if possible, returning an error if not.

type SpecificationExtension

type SpecificationExtension = openapiv3.SpecificationExtension

func NewSpecificationExtension

func NewSpecificationExtension(in *yaml.Node, context *compiler.Context) (*SpecificationExtension, error)

NewSpecificationExtension creates an object of type SpecificationExtension if possible, returning an error if not.

type SpecificationExtension_Boolean

type SpecificationExtension_Boolean = openapiv3.SpecificationExtension_Boolean

type SpecificationExtension_Number

type SpecificationExtension_Number = openapiv3.SpecificationExtension_Number

type SpecificationExtension_String_

type SpecificationExtension_String_ = openapiv3.SpecificationExtension_String_

type StringArray

type StringArray = openapiv3.StringArray

func NewStringArray

func NewStringArray(in *yaml.Node, context *compiler.Context) (*StringArray, error)

NewStringArray creates an object of type StringArray if possible, returning an error if not.

type Strings

type Strings = openapiv3.Strings

func NewStrings

func NewStrings(in *yaml.Node, context *compiler.Context) (*Strings, error)

NewStrings creates an object of type Strings if possible, returning an error if not.

type Tag

type Tag = openapiv3.Tag

func NewTag

func NewTag(in *yaml.Node, context *compiler.Context) (*Tag, error)

NewTag creates an object of type Tag if possible, returning an error if not.

type Xml

type Xml = openapiv3.Xml

func NewXml

func NewXml(in *yaml.Node, context *compiler.Context) (*Xml, error)

NewXml creates an object of type Xml if possible, returning an error if not.

Directories

Path Synopsis
schema-generator is a support tool that generates the OpenAPI v3 JSON schema.
schema-generator is a support tool that generates the OpenAPI v3 JSON schema.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL