Skip to content

Commit 34f61ff

Browse files
🐛 Fix pydantic model.
1 parent 87a1bfc commit 34f61ff

File tree

1 file changed

+1
-2
lines changed
  • src/lapidary/render/model/openapi

1 file changed

+1
-2
lines changed

src/lapidary/render/model/openapi/model.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class OpenAPI(OpenAPIBase):
180180
alias='x-lapidary-headers-global',
181181
default_factory=dict,
182182
),
183-
] = None
183+
]
184184
"""Headers added to every request.
185185
Unlike with operation headers, the default value found in the schema is sent over the wire"""
186186

@@ -190,6 +190,5 @@ class OpenAPI(OpenAPIBase):
190190
alias='x-lapidary-responses-global',
191191
description='Common Responses, added to every operation. '
192192
'Values in Responses declared in Operations override values in this one.',
193-
default=None,
194193
),
195194
] = None

0 commit comments

Comments
 (0)