We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f26c8da commit f79aae8Copy full SHA for f79aae8
src/jvmMain/kotlin/it/krzeminski/githubactionstyping/validation/types/Integer.kt
@@ -13,6 +13,9 @@ fun ApiItem.validateInteger(): ItemValidationResult {
13
if (this.namedValues?.keys?.any { it.isBlank() } == true) {
14
return ItemValidationResult.Invalid("Named value names must not be empty.")
15
}
16
+ if (this.name != null && this.name.isBlank()) {
17
+ return ItemValidationResult.Invalid("Name must not be empty.")
18
+ }
19
if (this.allowedValues != null) {
20
return ItemValidationResult.Invalid("'allowed-values' is not allowed for this type.")
21
0 commit comments