Skip to content

Commit d7fb7ba

Browse files
committed
chore(deps): add redocly declaration for core types
- fix script to generate .ts files from NC core OpenAPI files Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
1 parent 0f2d216 commit d7fb7ba

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

REUSE.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ SPDX-FileCopyrightText = "none"
4848
SPDX-License-Identifier = "CC0-1.0"
4949

5050
[[annotations]]
51-
path = ["package.json", "package-lock.json", ".git-blame-ignore-revs", "**/package.json", "**/package-lock.json", "composer.json", "composer.patches.json", "composer.lock", "**/composer.json", "**/composer.lock", "patches.lock.json", ".gitignore", ".l10nignore", "psalm.xml", "tests/psalm-baseline.xml", "vendor-bin/**/composer.json", "vendor-bin/**/composer.lock", ".tx/config", "**/phpunit.xml", "tsconfig.json", "redocly.yaml"]
51+
path = ["package.json", "package-lock.json", ".git-blame-ignore-revs", "**/package.json", "**/package-lock.json", "composer.json", "composer.patches.json", "composer.lock", "**/composer.json", "**/composer.lock", "patches.lock.json", ".gitignore", ".l10nignore", "psalm.xml", "tests/psalm-baseline.xml", "vendor-bin/**/composer.json", "vendor-bin/**/composer.lock", ".tx/config", "**/phpunit.xml", "tsconfig.json"]
5252
precedence = "aggregate"
5353
SPDX-FileCopyrightText = "none"
5454
SPDX-License-Identifier = "CC0-1.0"

redocly.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
3+
4+
# Config for Nextcloud Talk API types (ResponseDefinitions -> OpenAPI declaration)
5+
# apis uses explicit output paths provided per JSON input source
6+
17
apis:
28
openapi@v1:
39
root: ./openapi.json

src/types/redocly.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
3+
4+
# Minimal config for core Nextcloud types (see generate-core-types.sh).
5+
# CLI uses explicit input/output paths provided by script instead of redocly.yaml at root.
6+
rules:
7+
struct: off

0 commit comments

Comments
 (0)