feat: генерация JSON-схемы для параметров-списков (тип List)#74
feat: генерация JSON-схемы для параметров-списков (тип List)#74nixel2007 wants to merge 2 commits into
Conversation
Параметр диагностики с типом `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
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Описание
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