Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Feb 14, 2024
1 parent 52f9f80 commit 3679080
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions tests/Console/resource/spec_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"name": "foo",
"in": "query",
"description": "Test",
"required": true,
"required": false,
"schema": {
"description": "Test",
"type": "string"
Expand All @@ -31,15 +31,15 @@
{
"name": "bar",
"in": "query",
"required": true,
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "baz",
"in": "query",
"required": true,
"required": false,
"schema": {
"enum": [
"foo",
Expand All @@ -51,7 +51,7 @@
{
"name": "boz",
"in": "query",
"required": true,
"required": false,
"schema": {
"type": "string",
"pattern": "[A-z]+"
Expand All @@ -60,23 +60,23 @@
{
"name": "integer",
"in": "query",
"required": true,
"required": false,
"schema": {
"type": "integer"
}
},
{
"name": "number",
"in": "query",
"required": true,
"required": false,
"schema": {
"type": "number"
}
},
{
"name": "date",
"in": "query",
"required": true,
"required": false,
"schema": {
"format": "date-time",
"type": "string"
Expand All @@ -85,15 +85,15 @@
{
"name": "boolean",
"in": "query",
"required": true,
"required": false,
"schema": {
"type": "boolean"
}
},
{
"name": "string",
"in": "query",
"required": true,
"required": false,
"schema": {
"type": "string"
}
Expand Down
10 changes: 5 additions & 5 deletions tests/Generator/Spec/resource/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"name": "startIndex",
"in": "query",
"description": "startIndex parameter",
"required": true,
"required": false,
"schema": {
"description": "startIndex parameter",
"type": "integer",
Expand All @@ -30,23 +30,23 @@
{
"name": "float",
"in": "query",
"required": true,
"required": false,
"schema": {
"type": "number"
}
},
{
"name": "boolean",
"in": "query",
"required": true,
"required": false,
"schema": {
"type": "boolean"
}
},
{
"name": "date",
"in": "query",
"required": true,
"required": false,
"schema": {
"format": "date",
"type": "string"
Expand All @@ -55,7 +55,7 @@
{
"name": "datetime",
"in": "query",
"required": true,
"required": false,
"schema": {
"format": "date-time",
"type": "string"
Expand Down

0 comments on commit 3679080

Please sign in to comment.