swagger

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationKeySwaggerURL = "gloo.solo.io/swagger_url"
	AnnotationKeySwaggerDoc = "gloo.solo.io/swagger_doc"
)

Variables

This section is empty.

Functions

func GetFuncs

func GetFuncs(us *v1.Upstream) ([]*v1.Function, error)

func IsSwagger

func IsSwagger(us *v1.Upstream) bool

func RetrieveSwaggerDocFromUrl

func RetrieveSwaggerDocFromUrl(url string) (*spec.Swagger, error)

Types

type Annotations

type Annotations struct {
	SwaggerURL       string
	InlineSwaggerDoc string
}

Jump to

Keyboard shortcuts

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