aboutsummaryrefslogtreecommitdiffstats
path: root/build/openapi-checker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/openapi-checker.sh')
-rwxr-xr-xbuild/openapi-checker.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/openapi-checker.sh b/build/openapi-checker.sh
index 00b2b7d7baa..5ad6e619ec3 100755
--- a/build/openapi-checker.sh
+++ b/build/openapi-checker.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
+# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
for path in core apps/*; do
if [ ! -f "$path/.noopenapi" ] && [[ "$(git check-ignore "$path")" != "$path" ]]; then
composer exec generate-spec "$path" "$path/openapi.json" || exit 1