Ensure operation security reqs inherits from spec-level when not defined (#3690)

This commit is contained in:
spastorelli
2025-09-26 09:11:52 +02:00
committed by GitHub
parent 50cb0c6e15
commit 319a1e536c
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -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,