mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-12 05:48:57 +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 {
|
||||
servers,
|
||||
operation,
|
||||
operation: { ...operation, security },
|
||||
method,
|
||||
path,
|
||||
securities,
|
||||
|
||||
Reference in New Issue
Block a user