OpenAPI clients generation

This commit is contained in:
Average Dude
2020-02-14 14:14:14 +01:00
committed by Rigel Kent
parent 68ca61941e
commit 002df3813d
9 changed files with 126 additions and 0 deletions

View File

@@ -4,3 +4,8 @@
PACKAGE_VERSION=$(node -p "require('./package.json').version")
sed -i "s/\(^\s*\)version: .*/\1version: $PACKAGE_VERSION/" ./support/doc/api/openapi.yaml
# Sets the package version for libs
echo "packageVersion: $PACKAGE_VERSION" >> ./support/openapi/go.yaml
echo "artifactVersion: $PACKAGE_VERSION" >> ./support/openapi/kotlin.yaml
echo "packageVersion: $PACKAGE_VERSION" >> ./support/openapi/python.yaml