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):
480480
481481 model_config = MODEL_CONFIG_ALLOW
482482
483- # Helper schemas for new file & header support
483+ # Helper schema for file upload
484484class FileSchema (BaseModel ):
485485 """OpenAPI 3.0 schema for binary file uploads (multipart/form-data)."""
486486
@@ -490,13 +490,6 @@ class FileSchema(BaseModel):
490490 model_config = MODEL_CONFIG_ALLOW
491491
492492
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-
500493model_rebuild (Schema )
501494model_rebuild (Operation )
502495model_rebuild (Encoding )
You can’t perform that action at this time.
0 commit comments