• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kcl-lang / kcl-openapi
66%
main: 66%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-7
DEFAULT BRANCH: main
Repo Added 04 Jul 2023 07:31AM UTC
Token bsczfAPhgbOT0k4RAgkHGpQ11pAGLDtoO regen
Build 196 Last
Files 14
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/mixin_protocol_suffix
branch: fix/mixin_protocol_suffix
CHANGE BRANCH
x
Reset
Sync Branches
  • fix/mixin_protocol_suffix
  • add-map-to-kcl-value
  • amyXia1994-patch-1
  • bugfix-143-multiple-validations
  • bump/cla
  • chore-bump-regex-match-func
  • chore-deprecated-cli
  • chore-update-cla-version
  • chore/docker-release-config
  • chore/migrate-repo
  • chore/update-release-ci
  • ci-update-test-condition
  • cleanup_ioutil
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/actions/setup-python-5
  • dependabot/github_actions/actions/setup-python-6
  • dependabot/github_actions/docker/login-action-3
  • dependabot/github_actions/goreleaser/goreleaser-action-6
  • dependabot/go_modules/github.com/go-openapi/errors-0.22.0
  • dependabot/go_modules/github.com/go-openapi/errors-0.22.1
  • dependabot/go_modules/github.com/go-openapi/errors-0.22.2
  • dependabot/go_modules/github.com/go-openapi/inflect-0.21.0
  • dependabot/go_modules/github.com/go-openapi/inflect-0.21.2
  • dependabot/go_modules/github.com/go-openapi/inflect-0.21.3
  • dependabot/go_modules/github.com/go-openapi/strfmt-0.23.0
  • dependabot/go_modules/github.com/jessevdk/go-flags-1.6.1
  • dependabot/go_modules/github.com/kr/pretty-0.3.1
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/github.com/stretchr/testify-1.9.0
  • doc/contributing
  • doc/install-approaches
  • doc/k8s-pkg-generate
  • enhance-int-or-string-array-pattern
  • enhance/support-v1-crd-versions
  • feat-item-all-pattern
  • feat-mangle-property-name-with-quote
  • feat-protocol-mixin-suffix
  • feat-use-raw-string-for-generated-schema
  • feat-yaml-stream-format-input
  • feat/preprocess-script
  • fix
  • fix-additional-property-pattern
  • fix-all-of-pattern
  • fix-default-value-with-x-order-generation
  • fix-disable-auto-block-pr-option
  • fix-multiple-pattern-in-items-and-additional-properties
  • fix-nil-pointer-for-array-branch
  • fix-optional-attr-min-and-max-validation-gen
  • fix-schema-generation
  • fix-split-documents
  • fix-typo-in-documents
  • fix-yaml-stream-format-input
  • fix/conflict-import
  • fix/docker-username-pw
  • fix/empty-check-blocks
  • fix/import-path-under-pkgroot
  • fix/multiline-default-string
  • fix/multiple-version-crdext-v1
  • fix/pre-process
  • fix/regex-check
  • fix/wrong-crd-apiversion
  • fix_link
  • main
  • mangle-system-module-import
  • minor/add-version
  • refs/tags/v0.5.0
  • refs/tags/v0.5.1
  • refs/tags/v0.5.2
  • refs/tags/v0.5.3
  • refs/tags/v0.5.4
  • refs/tags/v0.5.5
  • refs/tags/v0.6.0
  • refs/tags/v0.6.1
  • refs/tags/v0.6.2
  • refs/tags/v0.6.3
  • refs/tags/v0.6.4
  • refs/tags/v0.6.5
  • refs/tags/v0.6.6
  • refs/tags/v0.7.0
  • refs/tags/v0.8.0
  • refs/tags/v0.9.0
  • support-int-or-str
  • workflow/sync-k8s-models

05 Mar 2026 09:56PM UTC coverage: 66.282% (+0.03%) from 66.254%
22738688129

Pull #149

github

project0
fix: mixin/protocol schema suffix

fix feature and wrong behavior introduced by #146

* fix Mixin/Protocol schema suffix protection applying to property field names instead of generated schema type names: remove suffix logic from kclName (which is shared between property and schema naming) and add a protectedSchemaName helper applied only at inline schema creation in buildProperties

* add integration test case suffix_protected_mixin_protocol covering CRD properties whose names end with Mixin or Protocol

* fix CompareDir early-returning after first subdirectory, causing remaining files to be skipped in integration test comparison

Signed-off-by: Richard Hillmann <richard@flowers-software.de>
Pull Request #149: fix: mixin/protocol schema suffix

14 of 16 new or added lines in 2 files covered. (87.5%)

2355 of 3553 relevant lines covered (66.28%)

0.75 hits per line

Relevant lines Covered
Build:
Build:
3553 RELEVANT LINES 2355 COVERED LINES
0.75 HITS PER LINE
Source Files on fix/mixin_protocol_suffix
  • Tree
  • List 14
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
22738688129 fix/mixin_protocol_suffix fix: mixin/protocol schema suffix fix feature and wrong behavior introduced by #146 * fix Mixin/Protocol schema suffix protection applying to property field names instead of generated schema type names: remove suffix logic from kclName (which is... Pull #149 05 Mar 2026 10:00PM UTC project0 github
66.28
See All Builds (190)

Badge your Repo: kcl-openapi

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc