[deckhouse-cli] Update vendored package v0.0.31 - #439
Merged
Conversation
- verify: new "openapi/enum" rule. Enum values in OpenAPI schemas must
be CamelCase and start with a capital letter.
- verify: new "openapi/bilingual" rule. Every schema under openapi/
must have a doc-ru-*.yaml translation next to it. values.yaml and
test fixtures are exempt.
- bootstrap: module and application templates now include
openapi/doc-ru-settings.yaml, so new packages pass the bilingual
rule out of the box.
- render: a bare x-example on an array property now becomes a
one-element list, so toYaml and range in templates get the right
shape.
- render: the stubbed publicDomainTemplate now matches the real
platform format ("%s.%s.domain.io").
Signed-off-by: Roman Berezkin <roman.berezkin@flant.com>
Four statements in archive/atomic.go and transport/http.go lacked a blank line above them. They made "task lint:check" red on main since the snapshot command landed (e4cd67a). Signed-off-by: Roman Berezkin <roman.berezkin@flant.com>
ldmonster
approved these changes
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
d8 packageis compiled into d8, so it never updates on its own. This syncs the vendored code with upstreamv0.0.31: two newverifyrules, a Russian translation file in the bootstrap templates, and a render fix for array examples.What changed
New rules in the
openapilinter ofd8 package verify:enum: enum values in OpenAPI schemas must be CamelCase and start with a capital letter (warning)bilingual: every schema underopenapi/must have adoc-ru-*.yamltranslation next to it (error)values.yamland*-tests.yamlfixtures are skipped bybilingualdoc-ru-*.yamlwithout a matching schema is also an error - that catches a misspelled named8 package doclists both rulesBootstrap templates:
bootstrap moduleandbootstrap appnow generateopenapi/doc-ru-settings.yamlbilingualrule out of the boxRender:
x-exampleon an array property now becomes a one-element listtoYamlandrangein templates got a scalar instead of a listpublicDomainTemplatenow matches the real platform format (%s.%s.domain.io)Verification
v0.0.31(8899c68), byte for bytepackagecmd.go(d8 only) andpkg/cmd/cmd.go(noversionsubcommand)go.modneeds nothing new;task buildandtask testare green, the vendored tree lints cleandoc-ru-settings.yamlfails verify, a scalar array example renders as a listNotes
wsl_v5issues ininternal/snapshot/that madetask lint:checkred onmain(missing blank lines, no logic changes)