- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for typeToJSON (0.07 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
desc = docable.SwaggerDoc()[jsonName] } route.Param(ws.QueryParameter(jsonName, desc).DataType(typeToJSON(sf.Type.String()))) } } } return nil } // TODO: this is incomplete, expand as needed. // Convert the name of a golang type to the name of a JSON type func typeToJSON(typeName string) string { switch typeName { case "bool", "*bool": return "boolean"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0)