package openapi
import "k8s.io/kubernetes/pkg/apiserver/openapi"
Index ¶
- func GetOperationIDAndTags(servePath string, r *restful.Route) (string, []string, error)
- func ToValidOperationID(s string, capitalizeFirstLetter bool) string
Functions ¶
func GetOperationIDAndTags ¶
GetOperationIDAndTags returns a customize operation ID and a list of tags for kubernetes API server's OpenAPI spec to prevent duplicate IDs.
func ToValidOperationID ¶
ToValidOperationID makes an string a valid op ID (e.g. removing punctuations and whitespaces and make it camel case)
Source Files ¶
openapi.go
- Version
- v1.5.1
- Published
- Dec 14, 2016
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 3 minutes ago –
Tools for package owners.