swagger

package
v0.0.0-...-036f9fd Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiBasePathExtension = "x-wso2-basePath"
)

Variables

This section is empty.

Functions

func ApiBasePath

func ApiBasePath(swagger *openapi3.Swagger) string

func GetSwaggerV2

func GetSwaggerV2(swaggerStr *string) (*openapi3.Swagger, error)

GetSwaggerV2 returns the openapi2.Swagger of given swagger string

func GetSwaggerV3

func GetSwaggerV3(swaggerStr *string) (*openapi3.Swagger, error)

GetSwaggerV3 returns the openapi3.Swagger of given swagger string

Types

This section is empty.

Jump to

Keyboard shortcuts

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