fastapi-code-generator icon indicating copy to clipboard operation
fastapi-code-generator copied to clipboard

This code generator creates FastAPI app from an openapi file.

Results 104 fastapi-code-generator issues
Sort by recently updated
recently updated
newest added

Fixes #419 Basic support for parsing callbacks as a list of sub-operations. This does not modify the default templates to generate callbacks, but this can be done with something like...

The OpenAPI specification allows of the definition of callback operations. FastAPI supports this by constructing an additional router and passing this router's routes to the relevant path decorator. (More information...

Bumps [freezegun](https://github.com/spulec/freezegun) from 1.5.0 to 1.5.1. Changelog Sourced from freezegun's changelog. 1.5.1 Fix the typing of the tick() method, and improve it's behaviour. Commits 3f9fac4 Increase version number e0f2c3c CHANGELOG...

dependencies

Fix for inconsistance of code when doing sorting of routes and tags #416

In case when you have all router with lowercase letters.... and we add some router called "urlscraper", + uppercase tag like "URLScraper", this will cause inconsistrance between **_routers_** and **_tags_**...

My project has ``` [tool.poetry.dependencies] python = "^3.11" fastapi = "0.110.3" [tool.poetry.group.dev.dependencies] fastapi-code-generator = "^0.5.0" ``` which results in `datamodel-code-generator 0.25.6` I'm getting models like this generated: ```python api_version: Optional[str]...

- Adds more flexible support for other versions of Pydantic and Python, based on options available in datamodel-code-generator. - Cleans up some redundant code fixes #378

Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. Release notes Sourced from jinja2's releases. 3.1.4 This is the Jinja 3.1.4 security release, which fixes security issues and bugs but does not otherwise...

dependencies

Bumps [typer](https://github.com/tiangolo/typer) from 0.9.4 to 0.12.3. Release notes Sourced from typer's releases. 0.12.3 Fixes πŸ› Fix Rich formatting with no commands. PR #796 by @​svlandeg. 0.12.2 Features ✨ Improve column...

dependencies

β”‚ β”‚ \lib\site-packages\datamodel_code_generator\parser\openapi.py:289 in parse_schema β”‚ β”‚ β”‚ β”‚ 286 β”‚ β”‚ obj: JsonSchemaObject, β”‚ β”‚ 287 β”‚ β”‚ path: List[str], β”‚ β”‚ 288 β”‚ ) -> DataType: β”‚ β”‚...