diff options
-rw-r--r-- | apps/admin_audit/.noopenapi | 0 | ||||
-rw-r--r-- | apps/contactsinteraction/.noopenapi | 0 | ||||
-rw-r--r-- | apps/encryption/.noopenapi | 0 | ||||
-rw-r--r-- | apps/lookup_server_connector/.noopenapi | 0 | ||||
-rw-r--r-- | apps/systemtags/openapi.json | 49 | ||||
-rw-r--r-- | apps/testing/.noopenapi | 0 | ||||
-rw-r--r-- | apps/twofactor_backupcodes/.noopenapi | 0 | ||||
-rw-r--r-- | apps/workflowengine/.noopenapi | 0 | ||||
-rwxr-xr-x | build/openapi-checker.sh | 6 |
9 files changed, 53 insertions, 2 deletions
diff --git a/apps/admin_audit/.noopenapi b/apps/admin_audit/.noopenapi new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/apps/admin_audit/.noopenapi diff --git a/apps/contactsinteraction/.noopenapi b/apps/contactsinteraction/.noopenapi new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/apps/contactsinteraction/.noopenapi diff --git a/apps/encryption/.noopenapi b/apps/encryption/.noopenapi new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/apps/encryption/.noopenapi diff --git a/apps/lookup_server_connector/.noopenapi b/apps/lookup_server_connector/.noopenapi new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/apps/lookup_server_connector/.noopenapi diff --git a/apps/systemtags/openapi.json b/apps/systemtags/openapi.json new file mode 100644 index 00000000000..691717c6484 --- /dev/null +++ b/apps/systemtags/openapi.json @@ -0,0 +1,49 @@ +{ + "openapi": "3.0.3", + "info": { + "title": "systemtags", + "version": "0.0.1", + "description": "Collaborative tagging functionality which shares tags among users.", + "license": { + "name": "agpl" + } + }, + "components": { + "securitySchemes": { + "basic_auth": { + "type": "http", + "scheme": "basic" + }, + "bearer_auth": { + "type": "http", + "scheme": "bearer" + } + }, + "schemas": { + "Capabilities": { + "type": "object", + "required": [ + "systemtags" + ], + "properties": { + "systemtags": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean", + "enum": [ + true + ] + } + } + } + } + } + } + }, + "paths": {}, + "tags": [] +}
\ No newline at end of file diff --git a/apps/testing/.noopenapi b/apps/testing/.noopenapi new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/apps/testing/.noopenapi diff --git a/apps/twofactor_backupcodes/.noopenapi b/apps/twofactor_backupcodes/.noopenapi new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/apps/twofactor_backupcodes/.noopenapi diff --git a/apps/workflowengine/.noopenapi b/apps/workflowengine/.noopenapi new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/apps/workflowengine/.noopenapi diff --git a/build/openapi-checker.sh b/build/openapi-checker.sh index ca9d382a1cf..ffcd12aea73 100755 --- a/build/openapi-checker.sh +++ b/build/openapi-checker.sh @@ -1,7 +1,9 @@ #!/usr/bin/env bash -for path in core/openapi.json apps/*/openapi.json; do - composer exec generate-spec "$(dirname "$path")" "$path" || exit 1 +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 + fi done files="$(git diff --name-only)" |