mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
OpenAPI clients generation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user