diff --git a/internal/httpclient/api/openapi.yaml b/internal/httpclient/api/openapi.yaml index d96eb9c2a..926bcd3e9 100644 --- a/internal/httpclient/api/openapi.yaml +++ b/internal/httpclient/api/openapi.yaml @@ -84,6 +84,12 @@ paths: schema: $ref: '#/components/schemas/errorGeneric' description: errorGeneric + default: + content: + application/json: + schema: + $ref: '#/components/schemas/errorGeneric' + description: errorGeneric summary: Deletes relationships based on relation query tags: - relationship @@ -116,6 +122,12 @@ paths: schema: $ref: '#/components/schemas/errorGeneric' description: errorGeneric + default: + content: + application/json: + schema: + $ref: '#/components/schemas/errorGeneric' + description: errorGeneric summary: Writes one or more relationships in a single transaction. tags: - relationship @@ -142,6 +154,12 @@ paths: schema: $ref: '#/components/schemas/errorGeneric' description: errorGeneric + default: + content: + application/json: + schema: + $ref: '#/components/schemas/errorGeneric' + description: errorGeneric summary: Creates a relationship tags: - relationship @@ -224,6 +242,12 @@ paths: schema: $ref: '#/components/schemas/errorGeneric' description: errorGeneric + default: + content: + application/json: + schema: + $ref: '#/components/schemas/errorGeneric' + description: errorGeneric summary: Lists Namespaces tags: - relationship @@ -362,6 +386,12 @@ paths: schema: $ref: '#/components/schemas/errorGeneric' description: errorGeneric + default: + content: + application/json: + schema: + $ref: '#/components/schemas/errorGeneric' + description: errorGeneric summary: Lists ACL relationships. tags: - relationship @@ -467,6 +497,12 @@ paths: $ref: '#/components/schemas/checkPermissionResult' description: "The response of the permission check, in case it is not allowed.\ \ For the `/openapi` endpoints, the status code is always 200." + default: + content: + application/json: + schema: + $ref: '#/components/schemas/errorGeneric' + description: errorGeneric summary: Performs an authorization check. tags: - permission @@ -506,6 +542,12 @@ paths: $ref: '#/components/schemas/checkPermissionResult' description: "The response of the permission check, in case it is not allowed.\ \ For the `/openapi` endpoints, the status code is always 200." + default: + content: + application/json: + schema: + $ref: '#/components/schemas/errorGeneric' + description: errorGeneric summary: Performs an authorization check. tags: - permission @@ -611,6 +653,12 @@ paths: $ref: '#/components/schemas/checkPermissionResult' description: "The response of the permission check, in case it is not allowed.\ \ For the `/openapi` endpoints, the status code is always 200." + default: + content: + application/json: + schema: + $ref: '#/components/schemas/errorGeneric' + description: errorGeneric summary: Performs an authorization check. tags: - permission @@ -650,6 +698,12 @@ paths: $ref: '#/components/schemas/checkPermissionResult' description: "The response of the permission check, in case it is not allowed.\ \ For the `/openapi` endpoints, the status code is always 200." + default: + content: + application/json: + schema: + $ref: '#/components/schemas/errorGeneric' + description: errorGeneric summary: Performs an authorization check. tags: - permission @@ -713,6 +767,12 @@ paths: schema: $ref: '#/components/schemas/errorGeneric' description: errorGeneric + default: + content: + application/json: + schema: + $ref: '#/components/schemas/errorGeneric' + description: errorGeneric summary: Expands the subject set into a tree of subjects. tags: - permission diff --git a/internal/httpclient/api_permission.go b/internal/httpclient/api_permission.go index 0c33bb8fd..65fbc49e4 100644 --- a/internal/httpclient/api_permission.go +++ b/internal/httpclient/api_permission.go @@ -263,7 +263,15 @@ func (a *PermissionApiService) CheckPermissionExecute(r PermissionApiApiCheckPer return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + var v ErrorGeneric + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -447,7 +455,15 @@ func (a *PermissionApiService) CheckPermissionOrErrorExecute(r PermissionApiApiC return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr } + var v ErrorGeneric + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -592,7 +608,15 @@ func (a *PermissionApiService) ExpandPermissionsExecute(r PermissionApiApiExpand return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr } + var v ErrorGeneric + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -722,7 +746,15 @@ func (a *PermissionApiService) PostCheckPermissionExecute(r PermissionApiApiPost return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + var v ErrorGeneric + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -852,7 +884,15 @@ func (a *PermissionApiService) PostCheckPermissionOrErrorExecute(r PermissionApi return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + var v ErrorGeneric + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/internal/httpclient/api_relationship.go b/internal/httpclient/api_relationship.go index 18daebc43..56ab400de 100644 --- a/internal/httpclient/api_relationship.go +++ b/internal/httpclient/api_relationship.go @@ -339,7 +339,15 @@ func (a *RelationshipApiService) CreateRelationshipExecute(r RelationshipApiApiC return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + var v ErrorGeneric + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -503,7 +511,15 @@ func (a *RelationshipApiService) DeleteRelationshipsExecute(r RelationshipApiApi return localVarHTTPResponse, newErr } newErr.model = v + return localVarHTTPResponse, newErr + } + var v ErrorGeneric + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr } + newErr.model = v return localVarHTTPResponse, newErr } @@ -676,7 +692,15 @@ func (a *RelationshipApiService) GetRelationshipsExecute(r RelationshipApiApiGet return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + var v ErrorGeneric + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -786,7 +810,15 @@ func (a *RelationshipApiService) ListRelationshipNamespacesExecute(r Relationshi return localVarReturnValue, localVarHTTPResponse, newErr } newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + var v ErrorGeneric + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -914,7 +946,15 @@ func (a *RelationshipApiService) PatchRelationshipsExecute(r RelationshipApiApiP return localVarHTTPResponse, newErr } newErr.model = v + return localVarHTTPResponse, newErr + } + var v ErrorGeneric + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr } + newErr.model = v return localVarHTTPResponse, newErr } diff --git a/proto/ory/keto/relation_tuples/v1alpha2/openapi.pb.go b/proto/ory/keto/relation_tuples/v1alpha2/openapi.pb.go index cc122aab6..01e58ee38 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/openapi.pb.go +++ b/proto/ory/keto/relation_tuples/v1alpha2/openapi.pb.go @@ -239,8 +239,8 @@ var file_ory_keto_relation_tuples_v1alpha2_openapi_proto_rawDesc = []byte{ 0x1a, 0x3a, 0x0a, 0x0c, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0xd1, 0x04, 0x92, - 0x41, 0x90, 0x03, 0x12, 0x95, 0x02, 0x0a, 0x08, 0x4f, 0x52, 0x59, 0x20, 0x4b, 0x65, 0x74, 0x6f, + 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0xa2, 0x05, 0x92, + 0x41, 0xe1, 0x03, 0x12, 0x95, 0x02, 0x0a, 0x08, 0x4f, 0x52, 0x59, 0x20, 0x4b, 0x65, 0x74, 0x6f, 0x12, 0x9b, 0x01, 0x4f, 0x72, 0x79, 0x20, 0x4b, 0x65, 0x74, 0x6f, 0x20, 0x69, 0x73, 0x20, 0x61, 0x20, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x20, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x20, 0x73, 0x65, 0x72, @@ -265,19 +265,24 @@ var file_ory_keto_relation_tuples_v1alpha2_openapi_proto_rawDesc = []byte{ 0x32, 0x1a, 0x30, 0x2e, 0x6f, 0x72, 0x79, 0x2e, 0x6b, 0x65, 0x74, 0x6f, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x0a, 0x24, 0x73, 0x68, 0x2e, 0x6f, 0x72, 0x79, 0x2e, 0x6b, 0x65, 0x74, 0x6f, - 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, - 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x0c, 0x4f, 0x70, 0x65, 0x6e, 0x61, - 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x72, 0x79, 0x2f, 0x6b, 0x65, 0x74, 0x6f, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x72, 0x79, 0x2f, 0x6b, 0x65, 0x74, 0x6f, 0x2f, 0x72, 0x65, - 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x76, 0x31, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x3b, 0x72, 0x74, 0x73, 0xaa, 0x02, 0x20, 0x4f, 0x72, 0x79, - 0x2e, 0x4b, 0x65, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x75, - 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0xca, 0x02, 0x20, - 0x4f, 0x72, 0x79, 0x5c, 0x4b, 0x65, 0x74, 0x6f, 0x5c, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x73, 0x65, 0x52, 0x4f, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x44, + 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x12, 0x34, + 0x0a, 0x32, 0x1a, 0x30, 0x2e, 0x6f, 0x72, 0x79, 0x2e, 0x6b, 0x65, 0x74, 0x6f, 0x2e, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x0a, 0x24, 0x73, 0x68, 0x2e, 0x6f, 0x72, 0x79, 0x2e, 0x6b, 0x65, 0x74, + 0x6f, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, + 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x0c, 0x4f, 0x70, 0x65, 0x6e, + 0x61, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x72, 0x79, 0x2f, 0x6b, 0x65, 0x74, 0x6f, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x72, 0x79, 0x2f, 0x6b, 0x65, 0x74, 0x6f, 0x2f, 0x72, + 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x3b, 0x72, 0x74, 0x73, 0xaa, 0x02, 0x20, 0x4f, 0x72, + 0x79, 0x2e, 0x4b, 0x65, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x75, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0xca, 0x02, + 0x20, 0x4f, 0x72, 0x79, 0x5c, 0x4b, 0x65, 0x74, 0x6f, 0x5c, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x5c, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/ory/keto/relation_tuples/v1alpha2/openapi.proto b/proto/ory/keto/relation_tuples/v1alpha2/openapi.proto index ce1cadbc9..ce3f0dbb5 100644 --- a/proto/ory/keto/relation_tuples/v1alpha2/openapi.proto +++ b/proto/ory/keto/relation_tuples/v1alpha2/openapi.proto @@ -42,6 +42,15 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; }; + responses: { + key: "default"; + value: { + description: "errorGeneric"; + schema: { + json_schema: {ref: ".ory.keto.relation_tuples.v1alpha2.ErrorResponse"} + } + }; + }; }; // JSON API Error Response diff --git a/spec/api.json b/spec/api.json index 6c4b6e271..61df46ce5 100644 --- a/spec/api.json +++ b/spec/api.json @@ -470,6 +470,16 @@ } }, "description": "errorGeneric" + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errorGeneric" + } + } + }, + "description": "errorGeneric" } }, "summary": "Deletes relationships based on relation query", @@ -515,6 +525,16 @@ } }, "description": "errorGeneric" + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errorGeneric" + } + } + }, + "description": "errorGeneric" } }, "summary": "Writes one or more relationships in a single transaction.", @@ -554,6 +574,16 @@ } }, "description": "errorGeneric" + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errorGeneric" + } + } + }, + "description": "errorGeneric" } }, "summary": "Creates a relationship", @@ -677,6 +707,16 @@ } }, "description": "errorGeneric" + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errorGeneric" + } + } + }, + "description": "errorGeneric" } }, "summary": "Lists Namespaces", @@ -832,6 +872,16 @@ } }, "description": "errorGeneric" + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errorGeneric" + } + } + }, + "description": "errorGeneric" } }, "summary": "Lists ACL relationships.", @@ -938,6 +988,16 @@ } }, "description": "The response of the permission check, in case it is not allowed. For the `/openapi` endpoints, the status code is always 200." + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errorGeneric" + } + } + }, + "description": "errorGeneric" } }, "summary": "Performs an authorization check.", @@ -992,6 +1052,16 @@ } }, "description": "The response of the permission check, in case it is not allowed. For the `/openapi` endpoints, the status code is always 200." + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errorGeneric" + } + } + }, + "description": "errorGeneric" } }, "summary": "Performs an authorization check.", @@ -1098,6 +1168,16 @@ } }, "description": "The response of the permission check, in case it is not allowed. For the `/openapi` endpoints, the status code is always 200." + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errorGeneric" + } + } + }, + "description": "errorGeneric" } }, "summary": "Performs an authorization check.", @@ -1152,6 +1232,16 @@ } }, "description": "The response of the permission check, in case it is not allowed. For the `/openapi` endpoints, the status code is always 200." + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errorGeneric" + } + } + }, + "description": "errorGeneric" } }, "summary": "Performs an authorization check.", @@ -1219,6 +1309,16 @@ } }, "description": "errorGeneric" + }, + "default": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/errorGeneric" + } + } + }, + "description": "errorGeneric" } }, "summary": "Expands the subject set into a tree of subjects.", diff --git a/spec/api.swagger.json b/spec/api.swagger.json index 7176719e6..cf6866e87 100755 --- a/spec/api.swagger.json +++ b/spec/api.swagger.json @@ -33,6 +33,12 @@ "schema": { "$ref": "#/definitions/errorGeneric" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "parameters": [ @@ -104,6 +110,12 @@ "schema": { "$ref": "#/definitions/errorGeneric" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "parameters": [ @@ -142,6 +154,12 @@ "schema": { "$ref": "#/definitions/errorGeneric" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "parameters": [ @@ -188,6 +206,12 @@ "schema": { "$ref": "#/definitions/errorGeneric" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "tags": ["relationship"], @@ -250,6 +274,12 @@ "schema": { "$ref": "#/definitions/errorGeneric" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "parameters": [ @@ -344,6 +374,12 @@ "schema": { "$ref": "#/definitions/checkPermissionResult" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "parameters": [ @@ -429,6 +465,12 @@ "schema": { "$ref": "#/definitions/checkPermissionResult" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "parameters": [ @@ -468,6 +510,12 @@ "schema": { "$ref": "#/definitions/checkPermissionResult" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "parameters": [ @@ -553,6 +601,12 @@ "schema": { "$ref": "#/definitions/checkPermissionResult" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "parameters": [ @@ -586,6 +640,12 @@ "schema": { "$ref": "#/definitions/errorGeneric" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "parameters": [ @@ -640,6 +700,12 @@ "schema": { "$ref": "#/definitions/errorGeneric" } + }, + "default": { + "description": "errorGeneric", + "schema": { + "$ref": "#/definitions/errorGeneric" + } } }, "tags": ["version"]