Skip to content

fix: allow minLength of 0 for strings and paths#262

Merged
epmog merged 1 commit intoOpenJobDescription:mainlinefrom
crowecawcaw:fix-minlength-zero
Feb 11, 2026
Merged

fix: allow minLength of 0 for strings and paths#262
epmog merged 1 commit intoOpenJobDescription:mainlinefrom
crowecawcaw:fix-minlength-zero

Conversation

@crowecawcaw
Copy link
Contributor

What was the problem/requirement? (What/Why)

The OpenJD spec does not require minLength to be greater than 0, but this package does.

Spec reference: 2023-09-Template-Schemas.md §2.1

What was the solution? (How)

Fix it.

What is the impact of this change?

How was this change tested?

Added unit tests. Also passes the tests in the conformance test suite: OpenJobDescription/openjd-specifications#103

Was this change documented?

n/a

Is this a breaking change?

No

Does this change impact security?

No

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
@epmog epmog force-pushed the fix-minlength-zero branch from d9f041c to 0e3c0b1 Compare February 11, 2026 22:09
@epmog epmog enabled auto-merge (squash) February 11, 2026 22:09
@sonarqubecloud
Copy link

@epmog epmog merged commit 96651fa into OpenJobDescription:mainline Feb 11, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments