Documentation ¶
Index ¶
- Constants
- func GenerateAPIProxyDefFromGQL(name string, gqlDocName string, basePath string, apiKeyLocation string, ...) (err error)
- func GenerateAPIProxyDefFromOAS(name string, oasDocName string, skipPolicy bool, addCORS bool, ...) (err error)
- func GenerateAPIProxyFromSwagger(name string, oasDocName string, basePath string, addCORS bool) (string, error)
- func GenerateIntegrationAPIProxy(name string, integration string, apitrigger string) (err error)
- func GenerateSetTargetPolicy() bool
- func GetAMPolicies() map[string]string
- func GetAllowDefinition() string
- func GetGoogleApiName() string
- func GetQuotaPolicies() map[string]string
- func GetSecuritySchemesList() []securitySchemesDef
- func GetSpikeArrestPolicies() map[string]string
- func LoadDocumentFromFile(filePath string, validate bool, formatValidation bool) (string, []byte, error)
- func LoadDocumentFromURI(uri string, validate bool, formatValidation bool) (string, []byte, error)
- func LoadSwaggerFromFile(filePath string) (string, []byte, error)
- func LoadSwaggerFromUri(endpoint string) (string, []byte, error)
- type ValueDef
Constants ¶
View Source
const GoogleAuthTargetName = "google-auth"
View Source
const NoAuthTargetName = "default"
Variables ¶
This section is empty.
Functions ¶
func GenerateSetTargetPolicy ¶
func GenerateSetTargetPolicy() bool
func GetAMPolicies ¶
func GetAllowDefinition ¶
func GetAllowDefinition() string
func GetGoogleApiName ¶
func GetGoogleApiName() string
func GetQuotaPolicies ¶
func GetSecuritySchemesList ¶
func GetSecuritySchemesList() []securitySchemesDef
func GetSpikeArrestPolicies ¶
func LoadDocumentFromFile ¶
func LoadDocumentFromURI ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.