Browse Source

tool, specs, nextcloud: Keep tags

pull/203/head
jld3103 2 years ago
parent
commit
1f0671a73a
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 1
      packages/nextcloud/lib/src/nextcloud.openapi.json
  2. 1
      specs/core.json
  3. 1
      specs/news.json
  4. 1
      specs/notes.json
  5. 1
      specs/notifications.json
  6. 1
      specs/provisioning_api.json
  7. 1
      specs/user_status.json
  8. 2
      tool/generate-nextcloud.sh
  9. 1
      tool/generate-specs.sh

1
packages/nextcloud/lib/src/nextcloud.openapi.json

@ -27,6 +27,7 @@
"basic_auth": [] "basic_auth": []
} }
], ],
"tags": [],
"components": { "components": {
"schemas": { "schemas": {
"OCSMeta": { "OCSMeta": {

1
specs/core.json

@ -27,6 +27,7 @@
"basic_auth": [] "basic_auth": []
} }
], ],
"tags": [],
"components": { "components": {
"schemas": { "schemas": {
"OCSMeta": { "OCSMeta": {

1
specs/news.json

@ -27,6 +27,7 @@
"basic_auth": [] "basic_auth": []
} }
], ],
"tags": [],
"components": { "components": {
"schemas": { "schemas": {
"OCSMeta": { "OCSMeta": {

1
specs/notes.json

@ -27,6 +27,7 @@
"basic_auth": [] "basic_auth": []
} }
], ],
"tags": [],
"components": { "components": {
"schemas": { "schemas": {
"OCSMeta": { "OCSMeta": {

1
specs/notifications.json

@ -27,6 +27,7 @@
"basic_auth": [] "basic_auth": []
} }
], ],
"tags": [],
"components": { "components": {
"schemas": { "schemas": {
"OCSMeta": { "OCSMeta": {

1
specs/provisioning_api.json

@ -27,6 +27,7 @@
"basic_auth": [] "basic_auth": []
} }
], ],
"tags": [],
"components": { "components": {
"schemas": { "schemas": {
"OCSMeta": { "OCSMeta": {

1
specs/user_status.json

@ -27,6 +27,7 @@
"basic_auth": [] "basic_auth": []
} }
], ],
"tags": [],
"components": { "components": {
"schemas": { "schemas": {
"OCSMeta": { "OCSMeta": {

2
tool/generate-nextcloud.sh

@ -33,6 +33,7 @@ for i in $(seq 0 $((${#codenames[@]} - 1))); do
info: .[0].info, info: .[0].info,
servers: .[0].servers, servers: .[0].servers,
security: .[0].security, security: .[0].security,
tags: (.[0].tags + .[1].tags),
components: (.[0].components * .[1].components), components: (.[0].components * .[1].components),
paths: (.[0].paths * .[1].paths), paths: (.[0].paths * .[1].paths),
}' \ }' \
@ -50,6 +51,7 @@ jq \
info: .info, info: .info,
servers: .servers, servers: .servers,
security: .security, security: .security,
tags: .tags,
components: .components, components: .components,
paths: .paths, paths: .paths,
} }

1
tool/generate-specs.sh

@ -56,6 +56,7 @@ for codename in ${codenames[*]}; do
basic_auth: [] basic_auth: []
} }
], ],
tags: .[1].tags,
components: { components: {
schemas: .[1].components.schemas schemas: .[1].components.schemas
}, },

Loading…
Cancel
Save