Generate Swagger files
This guide explains how to regenerate the Swagger files of the Casdoor API after you add or change an API handler.
Learning outcomes
- Annotate an API handler so that it appears in the Swagger files.
- Build the modified bee tool.
- Generate the Swagger files for all APIs or for selected ones.
What you need
- A clone of the Casdoor repository and the Go toolchain