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

Deletes a pet

DELETE
/pet/{petId}

Request

Path Params

Header Params

Responses

🟢200OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://dev.your-api-server.com/pet/' \
--header 'api_key;'
Response Response Example
{
    "code": 0
}
Previous
3-引用本模块组件
Next
Finds Pets by status
Built with