mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-23 11:03:39 +00:00
Ensure operation security reqs inherits from spec-level when not defined (#3690)
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@gitbook/react-openapi": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Ensure operation security requirements inherits from spec-level when not defined
|
||||||
@@ -71,7 +71,7 @@ export async function resolveOpenAPIOperation(
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
servers,
|
servers,
|
||||||
operation,
|
operation: { ...operation, security },
|
||||||
method,
|
method,
|
||||||
path,
|
path,
|
||||||
securities,
|
securities,
|
||||||
|
|||||||
Reference in New Issue
Block a user