Documentation
¶
Index ¶
- func OAS31APIKey(apiKey *openapi.SecuritySchemeAPIKey) *openapi31.SecuritySchemeAPIKey
- func OAS31Contact(contact *openapi.Contact) *openapi31.Contact
- func OAS31ExternalDocs(externalDocs *openapi.ExternalDocs) *openapi31.ExternalDocumentation
- func OAS31HTTPBearer(scheme *openapi.SecuritySchemeHTTPBearer) *openapi31.SecuritySchemeHTTPBearer
- func OAS31License(license *openapi.License) *openapi31.License
- func OAS31Oauth2Flows(flows openapi.OAuthFlows) openapi31.OauthFlows
- func OAS31OauthFlowsAuthorizationCode(flows *openapi.OAuthFlowsAuthorizationCode) *openapi31.OauthFlowsDefsAuthorizationCode
- func OAS31OauthFlowsClientCredentials(flows *openapi.OAuthFlowsClientCredentials) *openapi31.OauthFlowsDefsClientCredentials
- func OAS31OauthFlowsImplicit(flows *openapi.OAuthFlowsImplicit) *openapi31.OauthFlowsDefsImplicit
- func OAS31OauthFlowsPassword(flows *openapi.OAuthFlowsPassword) *openapi31.OauthFlowsDefsPassword
- func OAS31SecurityScheme(scheme *openapi.SecurityScheme) *openapi31.SecurityScheme
- func OAS31SecuritySchemeOauth2(oauth2 *openapi.SecuritySchemeOAuth2) *openapi31.SecuritySchemeOauth2
- func OAS31Server(server openapi.Server) openapi31.Server
- func OAS31Servers(servers []openapi.Server) []openapi31.Server
- func OAS31Tag(tag openapi.Tag) openapi31.Tag
- func OAS31Tags(tags []openapi.Tag) []openapi31.Tag
- func OAS3APIKey(scheme *openapi.SecurityScheme, apiKey *openapi.SecuritySchemeAPIKey) *openapi3.APIKeySecurityScheme
- func OAS3Contact(contact *openapi.Contact) *openapi3.Contact
- func OAS3ExternalDocs(docs *openapi.ExternalDocs) *openapi3.ExternalDocumentation
- func OAS3HTTPBearer(securityScheme *openapi.SecuritySchemeHTTPBearer, description *string) *openapi3.HTTPSecurityScheme
- func OAS3License(license *openapi.License) *openapi3.License
- func OAS3OAuth2SecurityScheme(oauth2 *openapi.SecuritySchemeOAuth2, description *string) *openapi3.OAuth2SecurityScheme
- func OAS3Oauth2Flows(flows openapi.OAuthFlows) openapi3.OAuthFlows
- func OAS3OauthFlowsAuthorizationCode(flows *openapi.OAuthFlowsAuthorizationCode) *openapi3.AuthorizationCodeOAuthFlow
- func OAS3OauthFlowsClientCredentials(flows *openapi.OAuthFlowsClientCredentials) *openapi3.ClientCredentialsFlow
- func OAS3OauthFlowsImplicit(flows *openapi.OAuthFlowsImplicit) *openapi3.ImplicitOAuthFlow
- func OAS3OauthFlowsPassword(flows *openapi.OAuthFlowsPassword) *openapi3.PasswordOAuthFlow
- func OAS3SecurityScheme(scheme *openapi.SecurityScheme) *openapi3.SecurityScheme
- func OAS3Server(server openapi.Server) openapi3.Server
- func OAS3Servers(servers []openapi.Server) []openapi3.Server
- func OAS3Tag(tag openapi.Tag) openapi3.Tag
- func OAS3Tags(tags []openapi.Tag) []openapi3.Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OAS31APIKey ¶
func OAS31APIKey(apiKey *openapi.SecuritySchemeAPIKey) *openapi31.SecuritySchemeAPIKey
func OAS31ExternalDocs ¶
func OAS31ExternalDocs(externalDocs *openapi.ExternalDocs) *openapi31.ExternalDocumentation
func OAS31HTTPBearer ¶
func OAS31HTTPBearer(scheme *openapi.SecuritySchemeHTTPBearer) *openapi31.SecuritySchemeHTTPBearer
func OAS31Oauth2Flows ¶
func OAS31Oauth2Flows(flows openapi.OAuthFlows) openapi31.OauthFlows
func OAS31OauthFlowsAuthorizationCode ¶ added in v0.2.0
func OAS31OauthFlowsAuthorizationCode( flows *openapi.OAuthFlowsAuthorizationCode, ) *openapi31.OauthFlowsDefsAuthorizationCode
func OAS31OauthFlowsClientCredentials ¶ added in v0.2.0
func OAS31OauthFlowsClientCredentials( flows *openapi.OAuthFlowsClientCredentials, ) *openapi31.OauthFlowsDefsClientCredentials
func OAS31OauthFlowsImplicit ¶ added in v0.2.0
func OAS31OauthFlowsImplicit(flows *openapi.OAuthFlowsImplicit) *openapi31.OauthFlowsDefsImplicit
func OAS31OauthFlowsPassword ¶ added in v0.2.0
func OAS31OauthFlowsPassword(flows *openapi.OAuthFlowsPassword) *openapi31.OauthFlowsDefsPassword
func OAS31SecurityScheme ¶
func OAS31SecurityScheme(scheme *openapi.SecurityScheme) *openapi31.SecurityScheme
func OAS31SecuritySchemeOauth2 ¶
func OAS31SecuritySchemeOauth2(oauth2 *openapi.SecuritySchemeOAuth2) *openapi31.SecuritySchemeOauth2
func OAS3APIKey ¶
func OAS3APIKey(scheme *openapi.SecurityScheme, apiKey *openapi.SecuritySchemeAPIKey) *openapi3.APIKeySecurityScheme
func OAS3ExternalDocs ¶
func OAS3ExternalDocs(docs *openapi.ExternalDocs) *openapi3.ExternalDocumentation
func OAS3HTTPBearer ¶
func OAS3HTTPBearer( securityScheme *openapi.SecuritySchemeHTTPBearer, description *string, ) *openapi3.HTTPSecurityScheme
func OAS3OAuth2SecurityScheme ¶
func OAS3OAuth2SecurityScheme( oauth2 *openapi.SecuritySchemeOAuth2, description *string, ) *openapi3.OAuth2SecurityScheme
func OAS3Oauth2Flows ¶
func OAS3Oauth2Flows(flows openapi.OAuthFlows) openapi3.OAuthFlows
func OAS3OauthFlowsAuthorizationCode ¶ added in v0.2.0
func OAS3OauthFlowsAuthorizationCode(flows *openapi.OAuthFlowsAuthorizationCode) *openapi3.AuthorizationCodeOAuthFlow
func OAS3OauthFlowsClientCredentials ¶ added in v0.2.0
func OAS3OauthFlowsClientCredentials(flows *openapi.OAuthFlowsClientCredentials) *openapi3.ClientCredentialsFlow
func OAS3OauthFlowsImplicit ¶ added in v0.2.0
func OAS3OauthFlowsImplicit(flows *openapi.OAuthFlowsImplicit) *openapi3.ImplicitOAuthFlow
func OAS3OauthFlowsPassword ¶ added in v0.2.0
func OAS3OauthFlowsPassword(flows *openapi.OAuthFlowsPassword) *openapi3.PasswordOAuthFlow
func OAS3SecurityScheme ¶
func OAS3SecurityScheme(scheme *openapi.SecurityScheme) *openapi3.SecurityScheme
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.