@@ -47,7 +47,7 @@ class Header(base_model.BaseModel):
47
47
deprecated : bool = False
48
48
allowEmptyValue : bool = False
49
49
50
- style : Optional [Style ] = pydantic . Field ( default = None , strict = False )
50
+ style : Optional [Style ] = None
51
51
explode : Optional [bool ] = None
52
52
allowReserved : bool = False
53
53
schema_ : Schema = pydantic .Field (alias = 'schema' )
@@ -62,10 +62,10 @@ class MediaType(base_model.BaseModel):
62
62
examples : dict [str , Any ] = pydantic .Field (default_factory = dict )
63
63
# encoding: dict[str, Encoding] = {}
64
64
65
- x_non_std_type_reason : Optional [str ] = pydantic . Field (
66
- default = None ,
67
- validation_alias = pydantic . AliasChoices ( 'x-taxi-non-std-type-reason' , 'x- usrv-non-std-type-reason') ,
68
- )
65
+ _model_userver_tags : list [str ] = [
66
+ 'x-taxi-non-std-type-reason' ,
67
+ 'x-usrv-non-std-type-reason' ,
68
+ ]
69
69
70
70
71
71
# https://spec.openapis.org/oas/v3.0.0.html#reference-object
@@ -101,13 +101,13 @@ class QueryLogMode(str, enum.Enum):
101
101
# https://spec.openapis.org/oas/v3.0.0.html#parameter-object
102
102
class Parameter (base_model .BaseModel ):
103
103
name : str
104
- in_ : In = pydantic .Field (alias = 'in' , strict = False )
104
+ in_ : In = pydantic .Field (alias = 'in' )
105
105
description : Optional [str ] = None
106
106
required : bool = False
107
107
deprecated : bool = False
108
108
allowEmptyValue : bool = False
109
109
110
- style : Optional [Style ] = pydantic . Field ( default = None , strict = False )
110
+ style : Optional [Style ] = None
111
111
explode : Optional [bool ] = None
112
112
allowReserved : bool = False
113
113
schema_ : Schema = pydantic .Field (alias = 'schema' )
@@ -127,7 +127,6 @@ class Parameter(base_model.BaseModel):
127
127
x_query_log_mode : QueryLogMode = pydantic .Field (
128
128
default = QueryLogMode .show ,
129
129
validation_alias = pydantic .AliasChoices ('x-taxi-query-log-mode' , 'x-usrv-query-log-mode' ),
130
- strict = False ,
131
130
)
132
131
x_explode_true_reason : str = pydantic .Field (
133
132
default = '' ,
@@ -202,10 +201,10 @@ class OAuthFlows(base_model.BaseModel):
202
201
203
202
# https://spec.openapis.org/oas/v3.0.0.html#security-scheme-object
204
203
class SecurityScheme (base_model .BaseModel ):
205
- type : SecurityType = pydantic . Field ( strict = False )
204
+ type : SecurityType
206
205
description : Optional [str ] = None
207
206
name : Optional [str ] = None
208
- in_ : Optional [SecurityIn ] = pydantic .Field (alias = 'in' , default = None , strict = False )
207
+ in_ : Optional [SecurityIn ] = pydantic .Field (alias = 'in' , default = None )
209
208
scheme_ : Optional [str ] = pydantic .Field (alias = 'scheme' , default = None )
210
209
bearerFormat : Optional [str ] = None
211
210
flows : Optional [OAuthFlows ] = None
@@ -274,7 +273,6 @@ class Operation(base_model.BaseModel):
274
273
x_query_log_mode : QueryLogMode = pydantic .Field (
275
274
default = QueryLogMode .show ,
276
275
validation_alias = pydantic .AliasChoices ('x-taxi-query-log-mode' , 'x-usrv-query-log-mode' ),
277
- strict = False ,
278
276
)
279
277
x_client_codegen : bool = pydantic .Field (
280
278
default = True ,
0 commit comments