|
|
|
@ -11,7 +11,7 @@ function generate_spec() {
|
|
|
|
|
composer exec generate-spec -- "$path" "../../packages/nextcloud/lib/src/api/$codename.openapi.json" --first-content-type --openapi-version 3.1.0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
for dir in external/nextcloud-server external/nextcloud-notifications; do |
|
|
|
|
for dir in external/nextcloud-server external/nextcloud-notifications external/nextcloud-spreed; do |
|
|
|
|
( |
|
|
|
|
cd "$dir" |
|
|
|
|
composer install |
|
|
|
@ -50,6 +50,11 @@ done
|
|
|
|
|
generate_spec "." "notifications" |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
( |
|
|
|
|
cd external/nextcloud-spreed |
|
|
|
|
generate_spec "." "spreed" |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
( |
|
|
|
|
cd external/nextcloud-server |
|
|
|
|
composer exec merge-specs -- --core ../../packages/nextcloud/lib/src/api/core.openapi.json --merged /tmp/nextcloud-neon/merged.json ../../packages/nextcloud/lib/src/api/*.openapi.json --openapi-version 3.1.0 |
|
|
|
|