We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a046a00 commit 31f2c4fCopy full SHA for 31f2c4f
.github/workflows/test-repositories.yml
@@ -76,12 +76,25 @@ jobs:
76
if: matrix.repositories == 'nextcloud/server'
77
working-directory: temp-repository/
78
run: |
79
+ specs=()
80
for path in core apps/*; do
81
if [ ! -f "$path/.noopenapi" ]; then
82
../bin/generate-spec "$path" "$path/openapi.json" || exit 1
83
+ if [[ "$(basename "$path")" != "core" ]]; then
84
+ if [ -f "$path/openapi-full.json" ]; then
85
+ specs+=("$path/openapi-full.json")
86
+ else
87
+ specs+=("$path/openapi.json")
88
+ fi
89
90
fi
91
done
92
93
+ ../bin/merge-specs \
94
+ --core core/openapi-full.json \
95
+ --merged openapi.json \
96
+ "${specs[@]}"
97
+
98
- name: Show changes of the API for assistance
99
100
0 commit comments