security-export-demo
  1. secret
security-export-demo
  • secret
    • Requires auth (should inherit)
      GET
    • Requires auth (explicit)
      GET
  • public
    • No auth (should inherit)
      GET
    • No auth (explicit)
      GET
  • Sample APIs
    • 1-引用响应组件+引用跨模块组件
      GET
    • 2-未引用响应组件
      POST
    • 3-引用本模块组件
      PUT
    • Deletes a pet
      DELETE
    • Finds Pets by status
      GET
  1. secret

Requires auth (explicit)

Developing
GET
/secret2

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
or

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dev.your-api-server.com/secret2' \
--header 'Authorization: Bearer <token>'
Response Response Example
{}
Previous
Requires auth (should inherit)
Next
No auth (should inherit)
Built with