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

Explicit Creation Of Endpoints #3

Open
SoundsSerious opened this issue Nov 19, 2024 · 1 comment
Open

Explicit Creation Of Endpoints #3

SoundsSerious opened this issue Nov 19, 2024 · 1 comment

Comments

@SoundsSerious
Copy link

I appreciate your approach to wanting to simply input a class with endpoints, however I would like to use python syntax to create my own openapi doc by iterating over endpoints in my schema. For instance I have a python klein app and would like to iterate over its endpoints inspect the source and create a spec from that to avoid some of the implicit assumptions about naming ect.

@hunyadi
Copy link
Owner

hunyadi commented Nov 19, 2024

I am not sure I fully understand this feature request. Could you elaborate and/or provide an example?

We do use a Python syntax to define endpoints, and we use python-openapi capabilities to generate an OpenAPI Specification from the Python descriptor. How does the challenge you face differ from what python-openapi offers today?

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