Skip to content

Commit

Permalink
ci: automatically update swagger docs
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslavirha committed Jan 5, 2024
1 parent 8222147 commit d49bca1
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/authentication/src/auth/swagger.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "0.7.0",
"version": "0.16.0",
"title": "Hiker's Book Authentication API - auth",
"description": "Hiker's Book Authentication API"
},
Expand Down
2 changes: 1 addition & 1 deletion api/authentication/src/v1/swagger.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "0.7.0",
"version": "0.16.0",
"title": "Hiker's Book Authentication API - v1",
"description": "Hiker's Book Authentication API"
},
Expand Down
2 changes: 1 addition & 1 deletion api/stages/src/v1/swagger.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "0.7.0",
"version": "0.16.0",
"title": "Hiker's Book Stages API - v1",
"description": "Hiker's Book Stages API"
},
Expand Down
2 changes: 1 addition & 1 deletion api/trips/src/v1/swagger.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "0.7.0",
"version": "0.16.0",
"title": "Hiker's Book Trips API - v1",
"description": "Hiker's Book Trips API"
},
Expand Down
20 changes: 20 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
"path": "api/authentication/package.json",
"jsonpath": "$.version"
},
{
"type": "json",
"path": "api/authentication/src/auth/swagger.json",
"jsonpath": "$.info.version"
},
{
"type": "json",
"path": "api/authentication/src/v1/swagger.json",
"jsonpath": "$.info.version"
},
{
"type": "json",
"path": "api/graphql/package.json",
Expand All @@ -28,11 +38,21 @@
"path": "api/stages/package.json",
"jsonpath": "$.version"
},
{
"type": "json",
"path": "api/stages/src/v1/swagger.json",
"jsonpath": "$.info.version"
},
{
"type": "json",
"path": "api/trips/package.json",
"jsonpath": "$.version"
},
{
"type": "json",
"path": "api/trips/src/v1/swagger.json",
"jsonpath": "$.info.version"
},
{
"type": "json",
"path": "ui/hikers-book/package.json",
Expand Down

0 comments on commit d49bca1

Please sign in to comment.