We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openapi_extra
class BookBody(BaseModel): age: Optional[int] = Field(..., ge=2, le=4, description='Age') author: str = Field(None, min_length=2, max_length=4, description='Author') class Config: openapi_extra = { "description": "This is post RequestBody", "example": { "age": 12, "author": "author" }, "examples": { "example1": { "summary": "example summary1", "description": "example description1", "value": { "age": 24, "author": "author1" } }, "example2": { "summary": "example summary2", "description": "example description2", "value": { "age": 48, "author": "author2" } } } }
DeprecationWarning: extra_form , extra_body and extra_responses will be deprecated in v3.x ???
extra_form
extra_body
extra_responses
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
DeprecationWarning:
extra_form
,extra_body
andextra_responses
will be deprecated in v3.x ???The text was updated successfully, but these errors were encountered: