![]() |
il y a 6 ans | |
---|---|---|
.. | ||
README.md | 2969161afb - More whitelabeling. | il y a 6 ans |
generate_openapi.py | 1eea102f26 openAPI: also handle `export` statement in the scripts | il y a 6 ans |
This folder contains a script (generate_openapi.py
) that extracts
the REST API of Wekan and exports it under the OpenAPI 2.0 specification
(Swagger 2.0).
python3 generate_openapi.py --release v1.65 > ../public/wekan_api.yml
Now that we have the OpenAPI, it's easy enough to convert the YAML file into some nice Markdown with shins and api2html, or even ReDoc:
api2html -c ../public/logo-header.png -o api.html ../public/wekan_api.yml
or
redoc-cli serve ../public/wekan_api.yml