Skip to content

Commit

Permalink
fix(openapi): refactor TransformReference and TransformFull objects i…
Browse files Browse the repository at this point in the history
…nto TransformRule
  • Loading branch information
fern-api[bot] committed May 11, 2024
1 parent 43fc2b0 commit 7bc4430
Showing 1 changed file with 2 additions and 33 deletions.
35 changes: 2 additions & 33 deletions fern/openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5362,28 +5362,7 @@
],
"additionalProperties": false
},
"TransformReference": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"transform"
],
"description": "A transformation rule must be of type `transformation`"
},
"transformation_id": {
"type": "string",
"description": "ID of the attached transformation object. Optional input, always set once the rule is defined"
}
},
"required": [
"type",
"transformation_id"
],
"additionalProperties": false
},
"TransformFull": {
"TransformRule": {
"type": "object",
"properties": {
"type": {
Expand Down Expand Up @@ -5432,16 +5411,6 @@
],
"additionalProperties": false
},
"TransformRule": {
"anyOf": [
{
"$ref": "#/components/schemas/TransformReference"
},
{
"$ref": "#/components/schemas/TransformFull"
}
]
},
"DelayRule": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -19395,4 +19364,4 @@
}
}
}
}
}

0 comments on commit 7bc4430

Please sign in to comment.