Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/internal/Validator/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@
"type": "string"
},
"value": {
"$ref": "#/definitions/any"
"$ref": "#/definitions/defaultType"
},
"externalValue": {
"type": "string"
Expand Down
8 changes: 8 additions & 0 deletions test/__tests__/class/__snapshots__/parameter-test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,14 @@ exports[`Parameter api.test.domain 1`] = `
"schema": {
"type": "integer",
"format": "int32"
},
"examples": {
"example1": {
"value": 20231119
},
"example2": {
"value": 20240101
}
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,14 @@ exports[`Parameter api.test.domain 1`] = `
"schema": {
"type": "integer",
"format": "int32"
},
"examples": {
"example1": {
"value": 20231119
},
"example2": {
"value": 20240101
}
}
}
],
Expand Down
5 changes: 5 additions & 0 deletions test/api.test.domain/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,11 @@ paths:
schema:
type: integer
format: int32
examples:
example1:
value: 20231119
example2:
value: 20240101
responses:
200:
description: Search Book Result
Expand Down