Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema.json: string_matcher object not complete #306

Open
petski opened this issue Jul 25, 2024 · 0 comments
Open

schema.json: string_matcher object not complete #306

petski opened this issue Jul 25, 2024 · 0 comments

Comments

@petski
Copy link

petski commented Jul 25, 2024

ShouldBeEmpty and ShouldNotBeEmpty are not present in https://smocker.dev/smocker.schema.json

See https://github.com/smocker-dev/smocker/blob/main/server/types/matchers.go#L21 for a complete list of string_matchers.

--- /tmp/inschema	2024-07-25 14:26:53.690076590 +0200
+++ /tmp/incode	2024-07-25 14:25:50.711300857 +0200
@@ -5,6 +5,7 @@
 "ShouldEqual"
 "ShouldEqualJSON"
 "ShouldStartWith"
+"ShouldBeEmpty"
 "ShouldMatch"
 "ShouldNotResemble"
 "ShouldNotAlmostEqual"
@@ -12,4 +13,5 @@
 "ShouldNotEndWith"
 "ShouldNotEqual"
 "ShouldNotStartWith"
+"ShouldNotBeEmpty"
 "ShouldNotMatch"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant