Skip to content

Commit

Permalink
Merge pull request #543 from gisaia/feature/apiDoc
Browse files Browse the repository at this point in the history
[Server] Generate API documentation
  • Loading branch information
MohamedHamouGisaia authored Nov 8, 2019
2 parents e2911b2 + 30af20f commit 7a2ed68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ mkdir -p openapi
cp target/tmp/swagger.yaml openapi
cp target/tmp/swagger.json openapi

echo "=> Generate API documentation"
mvn "-Dswagger.output=docs/api" swagger2markup:convertSwagger2markup

echo "=> Stop arlas-server stack"
docker-compose -f docker-compose.yml -f docker-compose-elasticsearch.yml --project-name arlas down -v

Expand Down Expand Up @@ -290,6 +293,7 @@ if [ "$SIMULATE" == "NO" ]; then
echo "=> Commit release version"
git add openapi/swagger.json
git add openapi/swagger.yaml
git add docs/api
git commit -a -m "release version ${ARLAS_VERSION}"
git tag v${ARLAS_VERSION}
git push origin v${ARLAS_VERSION}
Expand Down

0 comments on commit 7a2ed68

Please sign in to comment.