File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
aws_lambda_powertools/event_handler/openapi Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -480,7 +480,7 @@ class OpenAPI(OpenAPIExtensions):
480
480
481
481
model_config = MODEL_CONFIG_ALLOW
482
482
483
- # Helper schemas for new file & header support
483
+ # Helper schema for file upload
484
484
class FileSchema (BaseModel ):
485
485
"""OpenAPI 3.0 schema for binary file uploads (multipart/form-data)."""
486
486
@@ -490,13 +490,6 @@ class FileSchema(BaseModel):
490
490
model_config = MODEL_CONFIG_ALLOW
491
491
492
492
493
- class HeaderParamSchema (BaseModel ):
494
- """Schema for simple string header parameters."""
495
-
496
- type : Literal ["string" ] = Field ("string" , const = True )
497
-
498
- model_config = MODEL_CONFIG_ALLOW
499
-
500
493
model_rebuild (Schema )
501
494
model_rebuild (Operation )
502
495
model_rebuild (Encoding )
You can’t perform that action at this time.
0 commit comments