mapper

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OAS31Contact

func OAS31Contact(contact *openapi.Contact) *openapi31.Contact

func OAS31ExternalDocs

func OAS31ExternalDocs(externalDocs *openapi.ExternalDocs) *openapi31.ExternalDocumentation

func OAS31License

func OAS31License(license *openapi.License) *openapi31.License

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 OAS31Server

func OAS31Server(server openapi.Server) openapi31.Server

func OAS31Servers

func OAS31Servers(servers []openapi.Server) []openapi31.Server

func OAS31Tag

func OAS31Tag(tag openapi.Tag) openapi31.Tag

func OAS31Tags

func OAS31Tags(tags []openapi.Tag) []openapi31.Tag

func OAS3Contact

func OAS3Contact(contact *openapi.Contact) *openapi3.Contact

func OAS3HTTPBearer

func OAS3HTTPBearer(
	securityScheme *openapi.SecuritySchemeHTTPBearer,
	description *string,
) *openapi3.HTTPSecurityScheme

func OAS3License

func OAS3License(license *openapi.License) *openapi3.License

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

func OAS3Server

func OAS3Server(server openapi.Server) openapi3.Server

func OAS3Servers

func OAS3Servers(servers []openapi.Server) []openapi3.Server

func OAS3Tag

func OAS3Tag(tag openapi.Tag) openapi3.Tag

func OAS3Tags

func OAS3Tags(tags []openapi.Tag) []openapi3.Tag

Types

This section is empty.

Jump to

Keyboard shortcuts

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