Version the APIs that are published to SwaggerHub #2834
Labels
build
Anything related to the CI/CD Pipeline on Github Actions
documentation
Improvements or additions to documentation
Milestone
Feature Request
Currently we publish every iteration of our API spec as
0.0.1-SNAPSHOT
, which should be improved. Every release of EDC should also produce a versioned API spec in SwaggerHub.We should not do this on nightlies, because that would absolutely SPAM SwaggerHub.
Which Areas Would Be Affected?
build, CI
Why Is the Feature Desired?
Downstream projects use pinned versions of EDC, and they currently have no way of referencing their version of the EDC APIs.
Solution Proposal
apidoc.yaml
workflow user-triggerable (workflow_dispatch
)version
input to it and use thatversion
input to set the API versionThe text was updated successfully, but these errors were encountered: