fastapi / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
MIT License
27.1k stars 4.82k forks source link

Regenerate OpenAPI's client code #1222

Closed tomerb closed 4 months ago

tomerb commented 4 months ago

It looks like the frontend's auto-generated client code is stale, following some changes like #1179. I ran npm run generate-client, and this is the result.

alejsdev commented 4 months ago

Hi @tomerb, it's not stale, before running the npm run generate-client, we run the node modify-openapi-operationids.js to simplify the generated frontend client names and avoid redundancies. Yep, this process is still very manual, we are planning to automate it later. :sweat_smile:

I have rectified and only one service was missing, but the rest of the names are correct. (https://github.com/tiangolo/full-stack-fastapi-template/pull/1223)

I's better explained in the frontend README.md. Based on this, we will pass on this one but thanks for the effort! :smile: :rocket: