Skip to content

Commit

Permalink
chore(CloudFederationApi): Update spec in repo
Browse files Browse the repository at this point in the history
Adding makefile for easier update in the future.
Depends on npx.

Signed-off-by: Micke Nordin <kano@sunet.se>
  • Loading branch information
mickenordin committed Aug 13, 2024
1 parent 5a1931b commit 067f51d
Show file tree
Hide file tree
Showing 2 changed files with 644 additions and 286 deletions.
4 changes: 4 additions & 0 deletions apps/cloud_federation_api/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
spec_version=1.1.0
openapi_version=3.0.3
spec:
npx -p swagger2openapi swagger2openapi https://raw.githubusercontent.com/cs3org/OCM-API/v$(spec_version)/spec.yaml --outfile $(PWD)/openapi.json -t $(openapi_version)
Loading

0 comments on commit 067f51d

Please sign in to comment.