File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
packages/models-library/src/models_library/api_schemas_webserver Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -22,23 +22,27 @@ class InputSchemaWithoutCamelCase(BaseModel):
2222 )
2323
2424
25- class InputSchema (InputSchemaWithoutCamelCase ):
25+ class InputSchema (BaseModel ):
2626 model_config = ConfigDict (
27+ ** InputSchemaWithoutCamelCase .model_config ,
2728 alias_generator = snake_to_camel ,
2829 )
2930
3031
3132class OutputSchemaWithoutCamelCase (BaseModel ):
3233 model_config = ConfigDict (
3334 populate_by_name = True ,
34- extra = "ignore" , # Used to prune extra fields from internal data
35+ extra = "ignore" ,
3536 frozen = True ,
3637 )
3738
3839
39- class OutputSchema (OutputSchemaWithoutCamelCase ):
40+ class OutputSchema (BaseModel ):
4041 model_config = ConfigDict (
4142 alias_generator = snake_to_camel ,
43+ populate_by_name = True ,
44+ extra = "ignore" , # Used to prune extra fields from internal data
45+ frozen = True ,
4246 )
4347
4448 def data (
You can’t perform that action at this time.
0 commit comments