Skip to content

Commit

Permalink
updated deps for routing-controllers 0.10.0 (#127)
Browse files Browse the repository at this point in the history
* updated deps for routing-controllers 0.10.0

* fix format and linting
  • Loading branch information
leonardlin authored Dec 31, 2022
1 parent 7c5bc3e commit 9bf82ed
Show file tree
Hide file tree
Showing 5 changed files with 3,185 additions and 7,767 deletions.
8 changes: 8 additions & 0 deletions __tests__/fixtures/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@
"name": "from",
"required": true,
"schema": {
"pattern": "[^\\/#\\?]+?",
"type": "string"
}
},
Expand All @@ -395,6 +396,7 @@
"name": "to",
"required": true,
"schema": {
"pattern": "[^\\/#\\?]+?",
"type": "number"
}
},
Expand Down Expand Up @@ -485,6 +487,7 @@
"name": "userId",
"required": false,
"schema": {
"pattern": "[^\\/#\\?]+?",
"type": "number"
}
}
Expand Down Expand Up @@ -512,6 +515,7 @@
"name": "userId",
"required": true,
"schema": {
"pattern": "[^\\/#\\?]+?",
"type": "string"
}
}
Expand Down Expand Up @@ -563,6 +567,7 @@
"name": "userId",
"required": true,
"schema": {
"pattern": "[^\\/#\\?]+?",
"type": "number"
}
},
Expand All @@ -571,6 +576,7 @@
"name": "postId",
"required": true,
"schema": {
"pattern": "[^\\/#\\?]+?",
"type": "string"
}
}
Expand All @@ -596,6 +602,7 @@
"name": "userId",
"required": true,
"schema": {
"pattern": "[^\\/#\\?]+?",
"type": "string"
}
},
Expand All @@ -604,6 +611,7 @@
"name": "postId",
"required": true,
"schema": {
"pattern": "[^\\/#\\?]+?",
"type": "string"
}
}
Expand Down
18 changes: 9 additions & 9 deletions __tests__/parameters.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe('parameters', () => {
in: 'path',
name: 'string',
required: true,
schema: { type: 'string' },
schema: { pattern: '[^\\/#\\?]+?', type: 'string' },
},
{
in: 'path',
Expand All @@ -84,25 +84,25 @@ describe('parameters', () => {
in: 'path',
name: 'optional',
required: false,
schema: { type: 'string' },
schema: { pattern: '[^\\/#\\?]+?', type: 'string' },
},
{
in: 'path',
name: 'number',
required: true,
schema: { type: 'string' },
schema: { pattern: '[^\\/#\\?]+?', type: 'string' },
},
{
in: 'path',
name: 'boolean',
required: true,
schema: { type: 'string' },
schema: { pattern: '[^\\/#\\?]+?', type: 'string' },
},
{
in: 'path',
name: 'any',
required: true,
schema: { type: 'string' },
schema: { pattern: '[^\\/#\\?]+?', type: 'string' },
},
])
})
Expand All @@ -113,7 +113,7 @@ describe('parameters', () => {
in: 'path',
name: 'string',
required: true,
schema: { type: 'string' },
schema: { pattern: '[^\\/#\\?]+?', type: 'string' },
},
{
in: 'path',
Expand All @@ -125,19 +125,19 @@ describe('parameters', () => {
in: 'path',
name: 'optional',
required: false,
schema: { type: 'string' },
schema: { pattern: '[^\\/#\\?]+?', type: 'string' },
},
{
in: 'path',
name: 'number',
required: true,
schema: { type: 'number' },
schema: { pattern: '[^\\/#\\?]+?', type: 'number' },
},
{
in: 'path',
name: 'boolean',
required: true,
schema: { type: 'boolean' },
schema: { pattern: '[^\\/#\\?]+?', type: 'boolean' },
},
{
in: 'path',
Expand Down
Loading

0 comments on commit 9bf82ed

Please sign in to comment.