generated from pagopa/template-java-microservice
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from pagopa/PAGOPA-1495-doc-aggiornamento-doc…
…umentazione PAGOPA-1495 modifying doc and openapi
- Loading branch information
Showing
19 changed files
with
2,416 additions
and
3,594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,7 @@ jobs: | |
- name: Check Size | ||
uses: actions/[email protected] | ||
env: | ||
IGNORED_FILES: openapi.json, openapi-node.json | ||
IGNORED_FILES: openapi-v1.json, openapi-v2.json, openapi-node-v1.json, openapi-node-v2.json | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# install api-spec-converter if not present | ||
if [ $(npm list -g | grep -c api-spec-converter) -eq 0 ]; then | ||
npm install -g api-spec-converter | ||
if [[ "$(pwd)" =~ .*"openapi".* ]]; then | ||
cd .. | ||
fi | ||
|
||
# save openapi | ||
curl http://localhost:8080/v3/api-docs | python3 -m json.tool > ./openapi.json | ||
python3 generate_openapi_node.py ./openapi.json | ||
|
||
# UI mode http://localhost:8080/swagger-ui/index.html | ||
mvn test -Dtest=OpenApiGenerationTest |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.