FAQ
Last updated
Was this helpful?
Last updated
Was this helpful?
If you need a Vue.js build of the Apache APISIX Dashboard 1.0, use the .
The 2.0 version of the dashboard removed MySQL from and will operate directly on etcd.
If you are using Apache APISIX below v2.0, be aware that the data from the etcd v2 API is with the data from the v3 API. Apache APISIX Dashboard v2.0 and above uses the etcd v3 API, and apisix 1.5 and below uses the etcd v2 API.
Since the Dashboard caches the jsonschema data of the plugins in Apache APISIX, you need to synchronize the data in the Dashboard after you create your custom plugins in Apache APISIX, which currently only supports manual operation, this issue will be optimized in the following versions. Please follow the following guide.
Install and zip
.
Execute the following commands.
If you have a custom plugin, make sure it is in the apisix
directory and use the following command.
Use the go-swagger
tool to generate Swagger 2.0 documents.
Use the swagger-markdown
tool to convert Swagger 2.0 documents into markdown documents.
After the command finishes executing, if you are using a binary manager-api
that has already been built, you will need to manually copy api/conf/schema.json
to the conf
directory under the Dashboard working directory. where working directory refers to the conf
directory under this is the output
directory, or the directory with the modified name, that is generated in the root directory after the build is complete.
We use to generate Swagger 2.0 documents, and then convert them to markdown format so that they can be viewed directly in the github repository. Specific steps are as follows:
Write comments according to . For details, please refer to the existing example api/internal/handler/route/route.go
in this project.