openapi

package
v1.5.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOperationIDAndTags

func GetOperationIDAndTags(servePath string, r *restful.Route) (string, []string, error)

GetOperationIDAndTags returns a customize operation ID and a list of tags for kubernetes API server's OpenAPI spec to prevent duplicate IDs.

func ToValidOperationID

func ToValidOperationID(s string, capitalizeFirstLetter bool) string

ToValidOperationID makes an string a valid op ID (e.g. removing punctuations and whitespaces and make it camel case)

Types

This section is empty.

Jump to

Keyboard shortcuts

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