openapi

package
v0.18.2-0...-866293b Latest Latest
Warning

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

Go to latest
Published: Nov 8, 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