Skip to content

Commit

Permalink
test(kafka): add minimum and maximum values
Browse files Browse the repository at this point in the history
To visualize in UI

Refs springwolf#378
  • Loading branch information
aerfus committed Dec 31, 2023
1 parent b4a8aa4 commit 366cfea
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,8 @@
"properties": {
"amount": {
"type": "number",
"example": 99.99
"example": 99.99,
"minimum": 0.1
},
"currency": {
"type": "string",
Expand Down Expand Up @@ -700,6 +701,8 @@
"type": "number",
"description": "Payload model representing a number",
"example": 123,
"minimum": 0,
"maximum": 10,
"x-json-schema": {
"$schema": "https://json-schema.org/draft-04/schema#",
"description": "Payload model representing a number",
Expand Down

0 comments on commit 366cfea

Please sign in to comment.