Skip to content

Commit a32d801

Browse files
Antreesybackportbot[bot]
authored andcommitted
chore(deps): add redocly declaration for core types
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> [skip ci]
1 parent 36f7920 commit a32d801

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

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)