Skip to content

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

Closed

Description

@iamkarshe

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.

Activity

  1. n0nag0n commented on Jan 10, 2024

    @n0nag0n
    Collaborator

    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?

  2. locked and limited conversation to collaborators on Jan 13, 2024
  3. converted this issue into a discussion #520 on Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions