diff --git a/.gitmodules b/.gitmodules index 6be3a4a0..83d7ae69 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,3 +19,6 @@ [submodule "external/flathub-shared-modules"] path = external/flathub-shared-modules url = https://github.com/flathub/shared-modules.git +[submodule "external/nextcloud-spreed"] + path = external/nextcloud-spreed + url = https://github.com/nextcloud/spreed diff --git a/external/nextcloud-spreed b/external/nextcloud-spreed new file mode 160000 index 00000000..c1472ed4 --- /dev/null +++ b/external/nextcloud-spreed @@ -0,0 +1 @@ +Subproject commit c1472ed4cc0f777d27d35f1cf0e3020df1c50bba diff --git a/tool/generate-specs.sh b/tool/generate-specs.sh index 3680fea0..feaa71db 100755 --- a/tool/generate-specs.sh +++ b/tool/generate-specs.sh @@ -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