OpenAPI obj
by 정 원혁
1. servers [Server obj]
2. paths (Paths obj)
3. components (Components obj)
4. Operation obj
4.1. tags [ string ]
4.2. summary (string)
4.3. description (string)
4.4. externalDocs (External Documentation obj)
4.5. operationId (string)
4.6. parameters [{Parameter | Reference} obj]
4.7. requestBody ({Request Body | Reference} obj)
4.8. responses (Responses obj)
4.9. callbacks (Map[ string, {Callback | Reference} obj ])
4.10. deprecated (boolean)
4.11. security [ Security Requirement obj ]
4.12. servers [ Server obj ]
5. Parameter obj
5.1. name (string)
5.2. in (string)
5.3. description (string)
5.4. required (boolean)
5.5. deprecated (boolean)
5.6. allowEmptyValue (boolean)
5.7. style (string)
5.8. explode (boolean)
5.9. allowReserved (boolean)
5.10. schema ({Schema | Reference} obj)
5.11. example (Any)
5.12. examples (Map[ string, {Example | Reference} obj ] )
5.13. content (Map[ string, Media Type obj ])
6. Request Body obj
6.1. description (string)
6.2. content (Map[ string, Media Type obj ])
6.3. required (boolean)
7. Media Type obj
7.1. schema ({ Schema | Reference } obj)
7.2. example (Any)
7.3. examples (Map[ string, {Example | Reference} obj ] )
7.4. encoding (Map[ string, Encoding obj ])
8. Encoding obj
8.1. contentType (string)
8.2. headers (Map[ string, { Header | Reference } obj ])
8.3. style (string)
8.4. explode (boolean)
8.5. allowReserved (boolean)
9. Response obj
9.1. description (string)
9.2. headers (Map[ string, { Header | Reference } obj])
9.3. content (Map[ string, Media Type Object ])
9.4. links (Map[ string, { Link | Reference } obj ])
10. Responses obj
10.1. default ({ Response | Reference } obj)
10.2. HTTP Status Code ({ Response | Reference } obj)
11. Callback obj
11.1. {expression} (Path Item obj)
12. Example obj
12.1. summary (string)
12.2. description (string)
12.3. value (Any)
12.4. externalValue (string)
13. Header obj
14. Reference obj
14.1. $ref (string)
15. Schema obj
15.1. type (string)
15.2. allOf ({ Schema | Reference obj })
15.3. oneOf ({ Schema | Reference obj })
15.4. anyOf ({ Schema | Reference obj })
15.5. not ({ Schema | Reference obj })
15.6. items ({ Schema | Reference obj })
15.7. properties ({ Schema | Reference obj })
15.8. additionalProperties (boolean | { Schema | Reference obj })
15.9. description (string)
15.10. format (string)
15.11. default (type)
15.12. nullable (boolean)
15.13. discriminator (Discriminator obj)
15.14. readOnly (boolean)
15.15. writeOnly (boolean)
15.16. xml (XML obj)
15.17. externalDocs (External Documentation obj)
15.18. example (Any)
15.19. deprecated (boolean)
16. Discriminator obj
16.1. propertyName (string)
16.2. mapping (Map[ string, string ])
17. XML obj
17.1. name (string)
17.2. namespace (string)
17.3. prefix (string)
17.4. attribute (boolean)
17.5. wrapped (boolean)
18. Server obj
18.1. url (string)
18.2. description (string)
18.3. variables (Map[string, Server Variable obj])
18.3.1. enum (string)
18.3.2. default (string)
18.3.3. description (string)
19. Paths obj
19.1. /{path} (Path Item obj)
19.1.1. $ref (string)
19.1.2. summary (string)
19.1.3. description (string)
19.1.4. get (Operation obj)
19.1.5. put (Operation obj)
19.1.6. post (Operation obj)
19.1.7. delete (Operation obj)
19.1.8. options (Operation obj)
19.1.9. head (Operation obj)
19.1.10. patch (Operation obj)
19.1.11. trace (Operation obj)
19.1.12. servers [Server obj]
19.1.13. parameters [{Parameter | Reference} obj]