Skip to content

Commit 7e91942

Browse files
marcmlcclaude
andcommitted
Fix fern check errors for data attribute request types
Map snake_case schema names to PascalCase for CreateDataAttributeRequest and UpdateDataAttributeRequest to resolve type definition errors in fern check. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 042a9a8 commit 7e91942

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

fern/unstable-openapi-overrides.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
paths:
2+
'/data_attributes':
3+
post:
4+
requestBody:
5+
content:
6+
application/json:
7+
schema:
8+
$ref: '#/components/schemas/CreateDataAttributeRequest'
9+
'/data_attributes/{id}':
10+
put:
11+
requestBody:
12+
content:
13+
application/json:
14+
schema:
15+
$ref: '#/components/schemas/UpdateDataAttributeRequest'
216
'/articles':
317
post:
418
requestBody:
@@ -98,6 +112,10 @@ paths:
98112

99113
components:
100114
schemas:
115+
create_data_attribute_request:
116+
x-fern-type-name: CreateDataAttributeRequest
117+
update_data_attribute_request:
118+
x-fern-type-name: UpdateDataAttributeRequest
101119
custom_attributes:
102120
example:
103121
monthly_spend: '155.5'

0 commit comments

Comments
 (0)