Skip to content
New issue

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

feat: override openapi json #961

Open
VishnuSanal opened this issue Sep 14, 2024 · 4 comments
Open

feat: override openapi json #961

VishnuSanal opened this issue Sep 14, 2024 · 4 comments

Comments

@VishnuSanal
Copy link
Contributor

let the user override the openapi json file. refrain from generating, if:

a) the file is present somewhere, OR
b) the user passes it as a param to Robyn()

@sansyrox
Copy link
Member

@VishnuSanal , let us restrict the file only to the root of the project for this.

@sansyrox
Copy link
Member

a) restrict the file to the root.
b) and override based on the path provided by the user.

Give priority to b over a in case of a clash.

@VishnuSanal , can you please have a look at this?

@VishnuSanal
Copy link
Contributor Author

  • check how fastapi does this

@VishnuSanal
Copy link
Contributor Author

  • check how fastapi does this

I can't find docs on whether fastapi supports this. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants