Parametrize resource path with 'version' parameter
Add parameter 'name' to update operation
{
- "/apis/{fqdn}/v1/{resource}": {
+ "/apis/{fqdn}/{version}/{resource}": {
"get": {
"operationId": "listThirdPartyResource",
"summary": "Gets Resources",
"description": "The Third party Resource fqdn",
"type": "string"
},
+ {
+ "name": "version",
+ "in": "path",
+ "required": true,
+ "description": "The Third party Resource version",
+ "type": "string"
+ },
{
"name": "resource",
"in": "path",
}
}
},
- "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}": {
+ "/apis/{fqdn}/{version}/namespaces/{namespace}/{resource}": {
"post": {
"operationId": "createThirdPartyResource",
"summary": "Create a Resource",
"description": "The Third party Resource fqdn",
"type": "string"
},
+ {
+ "name": "version",
+ "in": "path",
+ "required": true,
+ "description": "The Third party Resource version",
+ "type": "string"
+ },
{
"name": "resource",
"in": "path",
}
}
},
- "/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}": {
+ "/apis/{fqdn}/{version}/namespaces/{namespace}/{resource}/{name}": {
"get": {
"operationId": "getThirdPartyResource",
"summary": "Gets a specific Resource",
"description": "The Third party Resource fqdn",
"type": "string"
},
+ {
+ "name": "version",
+ "in": "path",
+ "required": true,
+ "description": "The Third party Resource version",
+ "type": "string"
+ },
{
"name": "resource",
"in": "path",
"description": "The Resource's namespace",
"type": "string"
},
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "description": "The Resource's name",
+ "type": "string"
+ },
{
"name": "fqdn",
"in": "path",
"description": "The Third party Resource fqdn",
"type": "string"
},
+ {
+ "name": "version",
+ "in": "path",
+ "required": true,
+ "description": "The Third party Resource version",
+ "type": "string"
+ },
{
"name": "resource",
"in": "path",
