mirror of
https://github.com/d3vyce/fastapi-toolsets.git
synced 2026-03-01 17:00:48 +01:00
* chore: update docstring example to use python code block * docs: add documentation * feat: add docs build + fix other workdlows * fix: add missing return type
35 lines
736 B
Markdown
35 lines
736 B
Markdown
# `schemas` module
|
|
|
|
Here's the reference for all response models and types provided by the `schemas` module.
|
|
|
|
You can import them directly from `fastapi_toolsets.schemas`:
|
|
|
|
```python
|
|
from fastapi_toolsets.schemas import (
|
|
PydanticBase,
|
|
ResponseStatus,
|
|
ApiError,
|
|
BaseResponse,
|
|
Response,
|
|
ErrorResponse,
|
|
Pagination,
|
|
PaginatedResponse,
|
|
)
|
|
```
|
|
|
|
## ::: fastapi_toolsets.schemas.PydanticBase
|
|
|
|
## ::: fastapi_toolsets.schemas.ResponseStatus
|
|
|
|
## ::: fastapi_toolsets.schemas.ApiError
|
|
|
|
## ::: fastapi_toolsets.schemas.BaseResponse
|
|
|
|
## ::: fastapi_toolsets.schemas.Response
|
|
|
|
## ::: fastapi_toolsets.schemas.ErrorResponse
|
|
|
|
## ::: fastapi_toolsets.schemas.Pagination
|
|
|
|
## ::: fastapi_toolsets.schemas.PaginatedResponse
|