Skip to content

Commit

Permalink
fix(backend): Make it easy to get a copy of the cat-gateway openapi l…
Browse files Browse the repository at this point in the history
…ocally for inspection and development purposes.
  • Loading branch information
stevenj committed May 14, 2024
1 parent db7c3d4 commit 2d1fb64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions catalyst-gateway/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ target/
# Build artifacts
cat-gateway.coverage-report.info
cat-gateway.junit-report.xml
cat-gateway-api.*
6 changes: 6 additions & 0 deletions catalyst-gateway/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,9 @@ package-cat-gateway-with-preprod-snapshot:
# Publish packages if all integration tests have passed. (Failure to pass tests will prevent packages being published.)
# publish:
# FROM scratch

# get-api-locally : Get a copy of the OpenAPI json document locally.
get-api-locally:
FROM scratch
COPY +build/doc/cat-gateway-api.json cat-gateway-api.json
SAVE ARTIFACT cat-gateway-api.json AS LOCAL cat-gateway-api.json

0 comments on commit 2d1fb64

Please sign in to comment.