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-openapi-spec-action #43

Open
colinwilliams91 opened this issue Apr 15, 2024 · 0 comments
Open

feat-openapi-spec-action #43

colinwilliams91 opened this issue Apr 15, 2024 · 0 comments
Assignees

Comments

@colinwilliams91
Copy link
Contributor

Describe the Problem

As a developer, I would like any modifications/updates to the openapi-spec.json file (which is used to build and serve API docs html page) to be piped into the deployed html docs view.

Describe the Proposed Solution

The pipeline should be as follows:

  • eg.
    • create a new API endpoint
    • checkout openapi-sec branch
    • decorate API endpoint with appropriate JSDoc swagger comments
    • run a script that re-writes ./openapi-spec.json with updated API endpoint information(currently node server restart will achieve this)
    • push to a remote branch (like unity-assets branch that has an action watching it) that will push to deployed branch (main)
    • another action should pipe these changes to however swagger-ui-dist is serving/rendering the stylized documentation view

References

swagger-ui-dist docs

this section:

Image

@colinwilliams91 colinwilliams91 self-assigned this Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant