File tree 2 files changed +3
-3
lines changed
openapi_python_client/schema/openapi_schema_pydantic
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,7 @@ class Components(BaseModel):
33
33
headers : Optional [Dict [str , Union [Header , Reference ]]] = None
34
34
securitySchemes : Optional [Dict [str , Union [SecurityScheme , Reference ]]] = None
35
35
links : Optional [Dict [str , Union [Link , Reference ]]] = None
36
-
37
36
callbacks : Optional [Dict [str , Union [Callback , Reference ]]] = None
38
- """An object to hold reusable [Callback Objects](#callbackObject)."""
39
37
40
38
class Config : # pylint: disable=missing-class-docstring
41
39
extra = Extra .allow
Original file line number Diff line number Diff line change 6
6
7
7
if TYPE_CHECKING :
8
8
from .header import Header
9
+ else :
10
+ Header = "Header" # pylint: disable=invalid-name
9
11
10
12
11
13
class Encoding (BaseModel ):
@@ -17,7 +19,7 @@ class Encoding(BaseModel):
17
19
"""
18
20
19
21
contentType : Optional [str ] = None
20
- headers : Optional [Dict [str , Union [" Header" , Reference ]]] = None
22
+ headers : Optional [Dict [str , Union [Header , Reference ]]] = None
21
23
style : Optional [str ] = None
22
24
explode : bool = False
23
25
allowReserved : bool = False
You can’t perform that action at this time.
0 commit comments