diff --git a/internal/httpclient/api/openapi.yaml b/internal/httpclient/api/openapi.yaml index 15838381c..9f5647c73 100644 --- a/internal/httpclient/api/openapi.yaml +++ b/internal/httpclient/api/openapi.yaml @@ -74,7 +74,7 @@ paths: responses: "204": description: Empty responses are sent when, for example, resources are deleted. - The HTTP status code for empty responses is typically 201. + The HTTP status code for empty responses is typically 204. "400": content: application/json: @@ -104,7 +104,7 @@ paths: responses: "204": description: Empty responses are sent when, for example, resources are deleted. - The HTTP status code for empty responses is typically 201. + The HTTP status code for empty responses is typically 204. "400": content: application/json: @@ -467,7 +467,8 @@ paths: to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). operationId: postCheckPermissionOrError parameters: - - explode: true + - description: nolint:deadcode,unused + explode: true in: query name: max-depth required: false @@ -732,7 +733,7 @@ components: responses: emptyResponse: description: Empty responses are sent when, for example, resources are deleted. - The HTTP status code for empty responses is typically 201. + The HTTP status code for empty responses is typically 204. schemas: ParseError: example: diff --git a/internal/httpclient/docs/PermissionApi.md b/internal/httpclient/docs/PermissionApi.md index c9bcf6e5f..619a411b3 100644 --- a/internal/httpclient/docs/PermissionApi.md +++ b/internal/httpclient/docs/PermissionApi.md @@ -333,7 +333,7 @@ import ( ) func main() { - maxDepth := int64(789) // int64 | (optional) + maxDepth := int64(789) // int64 | nolint:deadcode,unused (optional) postCheckPermissionOrErrorBody := *openapiclient.NewPostCheckPermissionOrErrorBody() // PostCheckPermissionOrErrorBody | (optional) configuration := openapiclient.NewConfiguration() @@ -359,7 +359,7 @@ Other parameters are passed through a pointer to a apiPostCheckPermissionOrError Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **maxDepth** | **int64** | | + **maxDepth** | **int64** | nolint:deadcode,unused | **postCheckPermissionOrErrorBody** | [**PostCheckPermissionOrErrorBody**](PostCheckPermissionOrErrorBody.md) | | ### Return type diff --git a/spec/api.json b/spec/api.json index 61167c4db..795c0b27e 100755 --- a/spec/api.json +++ b/spec/api.json @@ -2,7 +2,7 @@ "components": { "responses": { "emptyResponse": { - "description": "Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201." + "description": "Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 204." } }, "schemas": { @@ -984,6 +984,7 @@ "operationId": "postCheckPermissionOrError", "parameters": [ { + "description": "nolint:deadcode,unused", "in": "query", "name": "max-depth", "schema": { diff --git a/spec/swagger.json b/spec/swagger.json index dbbdae47e..317fcf412 100755 --- a/spec/swagger.json +++ b/spec/swagger.json @@ -467,6 +467,7 @@ { "type": "integer", "format": "int64", + "description": "nolint:deadcode,unused", "name": "max-depth", "in": "query" }, @@ -1089,7 +1090,7 @@ }, "responses": { "emptyResponse": { - "description": "Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201." + "description": "Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 204." } } }