Skip to content

Commit

Permalink
fix(openapi): Add delete operation for transformations and update ret…
Browse files Browse the repository at this point in the history
…ry properties
  • Loading branch information
fern-api[bot] committed Oct 22, 2024
1 parent 1e47be7 commit 8c3af9d
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5769,6 +5769,17 @@
"type": "integer",
"nullable": true,
"description": "Maximum number of retries to attempt"
},
"response_status_codes": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(?:([2-5]\\d{2})-([2-5]\\d{2})|([><=]{1,2})([2-5]\\d{2})|!?([2-5]\\d{2}))$"
},
"minItems": 1,
"maxItems": 10,
"nullable": true,
"description": "HTTP codes to retry on. Accepts: range expressions (e.g., \"400-499\", \">400\"), specific codes (e.g., 404), and exclusions (e.g., \"!401\"). Example: [\"500-599\", \">400\", 404, \"!401\"]"
}
},
"required": [
Expand Down Expand Up @@ -16123,6 +16134,59 @@
"x-fern-sdk-group-name": "transformation",
"x-fern-sdk-method-name": "retrieve"
},
"delete": {
"operationId": "deleteTransformation",
"summary": "Delete a transformation",
"description": "",
"tags": [
"Transformations"
],
"responses": {
"200": {
"description": "An object with deleted transformation id",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID of the Transformation"
}
},
"required": [
"id"
],
"additionalProperties": false
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/APIErrorResponse"
}
}
}
}
},
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "string",
"description": "Transformation ID"
},
"required": true
}
],
"x-fern-sdk-group-name": "transformation",
"x-fern-sdk-method-name": "delete"
},
"put": {
"operationId": "updateTransformation",
"summary": "Update a transformation",
Expand Down

0 comments on commit 8c3af9d

Please sign in to comment.