Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌿 ✨ [Scheduled] Update API Spec #64

Merged
merged 6 commits into from
Nov 1, 2024
Prev Previous commit
Next Next commit
fix(openapi): Add delete operation for transformations and update ret…
…ry properties
  • Loading branch information
fern-api[bot] committed Oct 22, 2024
commit 8c3af9d66e5bab0b48c55fc93ed669d2bce3f7f8
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