security-export-demo
  1. Sample APIs
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. Sample APIs

3-引用本模块组件

PUT
/pet

Request

Body Params application/json

Examples

Responses

🟠405Validation error
application/json
Body

🟢200OK
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://dev.your-api-server.com/pet' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
405 - Example 1
{}
Previous
2-未引用响应组件
Next
Deletes a pet
Built with