Skip to content

Commit

Permalink
fix(openapi): pattern properties and example
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Apr 27, 2024
1 parent d79b80e commit 28f6846
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/api/v1/_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"additionalProperties": false
},
"example": {
"EURHUF": ["2000-01-04", 254.47],
"JPYHUF": ["2000-01-04", 2.4204],
"USDHUF": ["2000-01-04", 248.82]
"EURHUF": ["2000-01-05", 254.48],
"JPYHUF": ["2000-01-05", 2.3809],
"USDHUF": ["2000-01-05", 245.57]
}
}
}
Expand All @@ -52,7 +52,7 @@
"schema": {
"type": "object",
"patternProperties": {
"^\\d+$": {
"^\\\\d+$": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Symbol"
Expand Down

0 comments on commit 28f6846

Please sign in to comment.