3.5.4.Swagger/OAI Specifications, Part 2 of 3
以下範例參考自https://github.com/acloudfan/REST-API-course-swagger (branch: definitions)
Swagger 2.0 Part 2包含:
1.defining schema for request/response
JSON schema
examples
2.parameters
request: head, body, query string
3.security schema
Previous3.5.3.Swagger/OAI Specifications, Part 1 of 3Next3.5.5.Swagger/OAI Specifications, Part 3 of 3
Last updated