OpenAPI Specification Path: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:
<font size=-2>
<font size=-2>
  [...]
  [...]
  paths
  paths:
  /pathA/pathB:
  /a:
   
    summary:
  /pathC
    description:
    [[#Operations|get]]: [...]
    [[#Operations|put]]: [...]
    [[#Operations|post]]: [...]
    [[#Operations|delete]]: [...]
    [[#Operations|options]]: [...]
    [[#Operations|head]]: [...]
    [[#Operations|patch]]: [...]
    [[#Operations|trace]]: [...]
    servers:
    parameters:
  /b:
    [...]
  /c:
    [...]
  [...]
</font>
 
</font>
</font>

Revision as of 17:26, 26 January 2024

Internal

Overview

The top level paths keyword introduce a map of paths, keyed by their path value:

[...]
paths:
 /a:
    summary:
    description: 
    get: [...]
    put: [...]
    post: [...]
    delete: [...]
    options: [...]
    head: [...]
    patch: [...]
    trace: [...]
    servers:
    parameters:
 /b:
   [...]
 /c:
   [...]
[...]