Documentation ¶
Index ¶
- func ValidateComponents(ctx context.Context, components openapi3.Components) (err error)
- func ValidateContact(_ context.Context, _ *openapi3.Contact) error
- func ValidateContent(ctx context.Context, content openapi3.Content) error
- func ValidateHeader(ctx context.Context, header *openapi3.Header) error
- func ValidateHeaderRef(ctx context.Context, ref *openapi3.HeaderRef) error
- func ValidateIdentifier(_ string) error
- func ValidateInfo(ctx context.Context, info *openapi3.Info) error
- func ValidateLicense(_ context.Context, license *openapi3.License) error
- func ValidateMediaType(ctx context.Context, mediaType *openapi3.MediaType) error
- func ValidateOAS3(ctx context.Context, oas3 openapi3.Swagger) error
- func ValidateOAuthFlow(_ context.Context, flow *openapi3.OAuthFlow, typ oAuthFlowType) error
- func ValidateOAuthFlows(ctx context.Context, flows *openapi3.OAuthFlows) error
- func ValidateOperation(ctx context.Context, operation *openapi3.Operation) error
- func ValidateParameter(ctx context.Context, parameter *openapi3.Parameter) error
- func ValidateParameterRef(ctx context.Context, ref *openapi3.ParameterRef) error
- func ValidatePathItem(ctx context.Context, pathItem *openapi3.PathItem) error
- func ValidatePaths(ctx context.Context, paths openapi3.Paths) error
- func ValidateRequestBody(ctx context.Context, requestBody *openapi3.RequestBody) error
- func ValidateRequestBodyRef(ctx context.Context, ref *openapi3.RequestBodyRef) error
- func ValidateResponse(ctx context.Context, response *openapi3.Response) error
- func ValidateResponseRef(ctx context.Context, ref *openapi3.ResponseRef) error
- func ValidateSchema(ctx context.Context, schema *openapi3.Schema, stack []*openapi3.Schema) (err error)
- func ValidateSchemaRef(ctx context.Context, ref *openapi3.SchemaRef, stack []*openapi3.Schema) error
- func ValidateSecurity(ctx context.Context, securities openapi3.SecurityRequirements) error
- func ValidateSecurityRequirement(_ context.Context, _ openapi3.SecurityRequirement) error
- func ValidateSecurityScheme(ctx context.Context, ss *openapi3.SecurityScheme) error
- func ValidateSecuritySchemeRef(ctx context.Context, ref *openapi3.SecuritySchemeRef) error
- func ValidateServer(ctx context.Context, server *openapi3.Server) (err error)
- func ValidateServers(ctx context.Context, servers openapi3.Servers) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateComponents ¶
func ValidateComponents(ctx context.Context, components openapi3.Components) (err error)
func ValidateIdentifier ¶
func ValidateMediaType ¶
func ValidateOAuthFlow ¶
func ValidateOAuthFlows ¶
func ValidateOAuthFlows(ctx context.Context, flows *openapi3.OAuthFlows) error
func ValidateOperation ¶
func ValidateParameter ¶
func ValidateParameterRef ¶
func ValidateParameterRef(ctx context.Context, ref *openapi3.ParameterRef) error
func ValidatePathItem ¶
func ValidateRequestBody ¶
func ValidateRequestBody(ctx context.Context, requestBody *openapi3.RequestBody) error
func ValidateRequestBodyRef ¶
func ValidateRequestBodyRef(ctx context.Context, ref *openapi3.RequestBodyRef) error
func ValidateResponse ¶
func ValidateResponseRef ¶
func ValidateResponseRef(ctx context.Context, ref *openapi3.ResponseRef) error
func ValidateSchema ¶
func ValidateSchemaRef ¶
func ValidateSecurity ¶
func ValidateSecurity(ctx context.Context, securities openapi3.SecurityRequirements) error
func ValidateSecurityRequirement ¶
func ValidateSecurityRequirement(_ context.Context, _ openapi3.SecurityRequirement) error
func ValidateSecurityScheme ¶
func ValidateSecurityScheme(ctx context.Context, ss *openapi3.SecurityScheme) error
func ValidateSecuritySchemeRef ¶
func ValidateSecuritySchemeRef(ctx context.Context, ref *openapi3.SecuritySchemeRef) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.