Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Possible way to generate OpenAPI specification on the fly. #520

iamkarshe started this conversation in Ideas
Discussion options

Once all routes are made, based on method and route prefix, generating Open API specification and build the documentation in folder.

  • All routes with payloads and return type.
  • Authentication and tokens.
  • Like how FastAPI does with its applications.
You must be logged in to vote

Replies: 1 comment

Comment options

Hmm........this could be cool. I would do it as a separate package in the flightphp org. You can just run the Flight::getRoutes() and it would fetch all the routes and then you could build the specification at least based on that....it would be lacking comments and examples and such.....have you implemented anything related to this on your own and how'd it go?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
Converted from issue

This discussion was converted from issue #508 on January 13, 2024 17:25.

AltStyle によって変換されたページ (->オリジナル) /