- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ToProtoModels (0.09 sec)
-
staging/src/k8s.io/apiserver/pkg/util/openapi/proto.go
import ( "encoding/json" openapi_v2 "github.com/google/gnostic-models/openapiv2" "k8s.io/kube-openapi/pkg/util/proto" "k8s.io/kube-openapi/pkg/validation/spec" ) // ToProtoModels builds the proto formatted models from OpenAPI spec func ToProtoModels(openAPISpec *spec.Swagger) (proto.Models, error) { specBytes, err := json.MarshalIndent(openAPISpec, " ", " ") if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 14:34:26 UTC 2023 - 1.2K bytes - Viewed (0)