Documentation
¶
Index ¶
Constants ¶
View Source
const BaseTemplate = `
context: {
name: string
config?: [...{
name: string
value: string
}]
...
}
`
BaseTemplate include base info provided by KubeVela for CUE template
View Source
const ErrGenerateOpenAPIV2JSONSchemaForCapability = "cannot generate OpenAPI v3 JSON schema for capability %s: %v"
ErrGenerateOpenAPIV2JSONSchemaForCapability is the error while generating OpenAPI v3 schema
Variables ¶
This section is empty.
Functions ¶
func ConvertOpenAPISchema2SwaggerObject ¶
ConvertOpenAPISchema2SwaggerObject converts OpenAPI v2 JSON schema to Swagger Object
func FixOpenAPISchema ¶
FixOpenAPISchema fixes tainted `description` filed, missing of title `field`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.