Skip to content

Commit

Permalink
[PRDP-356] feat: Updated openapi (#42)
Browse files Browse the repository at this point in the history
* [PRDP-356] added class for openapi generation and added an openapi file for each product

* [PRDP-356] updated title and description

---------

Co-authored-by: giomella <[email protected]>
  • Loading branch information
gioelemella and giomella authored Feb 1, 2024
1 parent 05bba1e commit 0c00c74
Show file tree
Hide file tree
Showing 10 changed files with 2,732 additions and 246 deletions.
7 changes: 5 additions & 2 deletions openapi/generate_openapi.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
curl http://localhost:8080/v3/api-docs | python3 -m json.tool > ./openapi.json

# UI mode http://localhost:8080/swagger-ui/index.html
if [[ "$(pwd)" =~ .*"openapi".* ]]; then
cd ..
fi

mvn test -Dtest=OpenApiGenerationTest
Loading

0 comments on commit 0c00c74

Please sign in to comment.