Documentation
¶
Index ¶
Constants ¶
View Source
const ( OAuthParamTokenURL = "token_url" OAuthParamAuthURL = "auth_url" OAuthParamRedirectURI = "redirect_uri" OAuthParamClientID = "client_id" OAuthParamClientSecret = "client_secret" OAuthParamScope = "scope" OAuthParamAudience = "audience" OAuthParamResource = "resource" OAuthParamGrant = "grant" OAuthParamUsername = "username" OAuthParamPassword = "password" OAuthParamClientAuth = "client_auth" OAuthParamCacheKey = "cache_key" OAuthParamCodeVerifier = "code_verifier" OAuthParamCodeMethod = "code_challenge_method" OAuthParamState = "state" )
View Source
const ( OAuthGrantClientCredentials = "client_credentials" OAuthGrantPassword = "password" OAuthGrantAuthorizationCode = "authorization_code" )
View Source
const (
DefaultBaseURLVariable = "baseUrl"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocumentWriter ¶
type GenerateOptions ¶
type GenerateOptions struct {
Parse ParseOptions
Generate GeneratorOptions
Write WriterOptions
}
type GeneratorOptions ¶
type ParseOptions ¶
type ParseOptions struct {
ResolveExternalRefs bool
}
type Service ¶
type Service struct {
Parser Parser
Generator Generator
Writer DocumentWriter
}
func (*Service) GenerateHTTPFile ¶
type WriterOptions ¶
Click to show internal directories.
Click to hide internal directories.