fix: type safety for operation summary handling (via #5191)
* fix: gracefully handle non-string operation summaries * use lodash for more summary type safety
This commit is contained in:
@@ -8,10 +8,17 @@ paths:
|
||||
/pet:
|
||||
get:
|
||||
tags:
|
||||
- pet
|
||||
- default
|
||||
summary:
|
||||
$ref:
|
||||
operationId: addPet
|
||||
whatever: 123
|
||||
operationId: objectSummary
|
||||
responses:
|
||||
'405':
|
||||
description: Invalid input
|
||||
post:
|
||||
tags:
|
||||
- default
|
||||
operationId: noSummary
|
||||
responses:
|
||||
'405':
|
||||
description: Invalid input
|
||||
Reference in New Issue
Block a user