document_add_security_requirement
Add security requirements to an API document or specific operation with session and requirement mapping, optionally specifying path and method.
Instructions
Add a security requirement to the document or to a specific operation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | API path (required if applying to an operation) | |
| method | No | HTTP method (required if applying to an operation) | |
| session | Yes | Session name | |
| requirement | Yes | JSON object mapping scheme names to scopes (e.g. {"bearerAuth":[]}) |