feat: enhance API documentation and add board-related endpoints

Previously, boards.js contains a `?.` operator, which is not supported by esprima, therefore boards.js is skipped.

This PR fixes the API generation for borads.js by removing `?.`.

See https://github.com/jquery/esprima/issues/2112
This commit is contained in:
Yang, Bo 2025-06-23 19:37:41 +00:00
parent 12d3fabdb7
commit f399b5119f
3 changed files with 855 additions and 5 deletions

View file

@ -13,7 +13,7 @@ the REST API of Wekan and exports it under the OpenAPI 2.0 specification
### calling the tool
python3 generate_openapi.py --release v1.65 > ../public/wekan_api.yml
python3 generate_openapi.py --release v7.92 > ../public/api/wekan.yml
## Generating docs
Now that we have the OpenAPI, it's easy enough to convert the YAML file into some nice Markdown with