Replace all mentions of Swagger by OpenAPI (#1633)
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
df3f0af5d4
commit
99e2ff4927
17 changed files with 40 additions and 87 deletions
|
@ -1,12 +1,12 @@
|
|||
{{/*
|
||||
|
||||
This template is used to render an HTTP API, given an OpenAPI/Swagger definition.
|
||||
This template is used to render an HTTP API, given an OpenAPI definition.
|
||||
|
||||
It expects to be passed two parameters:
|
||||
|
||||
* a `spec` parameter identifying the spec, which must be the name of
|
||||
a directory under /data/api
|
||||
* an `api` parameter, identifying an OpenAPI/Swagger definition,
|
||||
* an `api` parameter, identifying an OpenAPI definition,
|
||||
which is the name of a schema file under "data/api/$spec".
|
||||
The file extension is omitted. For example:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue