{
  "openapi": "3.0.0",
  "paths": {
    "/v1alpha1/generic": {
      "put": {
        "operationId": "GenericController_request",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "resources": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "kind": {
                          "oneOf": [
                            {
                              "type": "string",
                              "enum": [
                                "foo",
                                "bar",
                                "fizz",
                                "buzz"
                              ],
                              "x-enumNames": [
                                "FOO",
                                "BAR",
                                "FIZZ",
                                "BUZZ"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "self"
                              ],
                              "x-enumNames": [
                                "SELF"
                              ]
                            }
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "kind"
                      ]
                    }
                  }
                },
                "required": [
                  "resources"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "id"
                  ]
                }
              }
            }
          }
        },
        "tags": []
      }
    }
  },
  "tags": [],
  "servers": [],
  "components": {
    "schemas": {}
  }
}