Skip to content

feat: генерация JSON-схемы для параметров-списков (тип List)#74

Open
nixel2007 wants to merge 2 commits into
developfrom
claude/diagnostic-params-string-list-28j3v4
Open

feat: генерация JSON-схемы для параметров-списков (тип List)#74
nixel2007 wants to merge 2 commits into
developfrom
claude/diagnostic-params-string-list-28j3v4

Conversation

@nixel2007

Copy link
Copy Markdown
Member

Описание

UpdateJsonSchemaTask теперь понимает тип параметра диагностики List (параметр-список: строка через запятую либо массив строк).

Для такого параметра в parameters-schema.json генерируется:

{
  "type": ["string", "array"],
  "items": { "type": "string" },
  "default": "<значение по умолчанию как строка>"
}

Раньше генератор поддерживал только скалярные типы (boolean/integer/number/string/pattern), и параметр-список описывался бы как обычная строка — без возможности задать массив в схеме.

Зависимости

Тип List у параметров диагностик вводится в BSL Language Server — 1c-syntax/bsl-language-server#4268. После мержа и релиза этого плагина bump его версии в bsl-language-server перегенерит parameters-schema.json с поддержкой массива.

🤖 Generated with Claude Code


Generated by Claude Code

claude added 2 commits July 14, 2026 11:55
Параметр диагностики с типом `Either` (Either<String, List<String>> —
список: строка через запятую либо массив строк) отражается в
parameters-schema.json как `"type": ["string", "array"]` с
`"items": {"type": "string"}`; значение по умолчанию — строка.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W86iNs3Sj9wTS6NFFHvVbv
Параметр диагностики с типом `List` (список: строка через запятую либо
массив строк) отражается в parameters-schema.json как
`"type": ["string", "array"]` с `"items": {"type": "string"}`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W86iNs3Sj9wTS6NFFHvVbv
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@nixel2007, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d05a7071-cafb-44ae-aaaa-c939e2aa5c37

📥 Commits

Reviewing files that changed from the base of the PR and between 9d8b827 and 9601ed0.

📒 Files selected for processing (1)
  • src/main/kotlin/com/github/_1c_syntax/bsllsdevtools/UpdateJsonSchemaTask.kt
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/diagnostic-params-string-list-28j3v4

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants