Arnavion / k8s-openapi

Rust definitions of the resource types in the Kubernetes client API
Apache License 2.0
373 stars 42 forks source link

v1.28.0 #145

Closed Arnavion closed 11 months ago

Arnavion commented 11 months ago

Requires changes to codegen-common. The spec now uses $ref in operation parameters to refer to definitions in the root scope.

{
    "definitions": { ... },
    "parameters": {
        "watch-XNNPZGbK": { "name": "watch", ... },
        ...
    },
    "paths": {
        "/api/...": {
           "parameters": [
              { "$ref": "#/parameters/watch-XNNPZGbk" },
              ...
           ],
           ...
        },
        ...
    },
    ...
}