Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema.json #2879

Closed
qlql489 opened this issue Nov 7, 2023 · 2 comments · May be fixed by #2885
Closed

schema.json #2879

qlql489 opened this issue Nov 7, 2023 · 2 comments · May be fixed by #2885
Labels
bug Something isn't working

Comments

@qlql489
Copy link

qlql489 commented Nov 7, 2023

Issue description

edit custom plugin,export schema.json copy to dashbord conf folder, restart dashboard but still can't find it in dashboard @

Expected behavior

can find in dashboard

How to Reproduce

1、edit new custom plugin name wb-param
2、edit apisix conf add the plugin
3、call curl 127.0.0.1:9090/v1/schema > schema.json
4、在 dashboard docker启动时映射 schema.json 文件
5、重启 dashboard docker 容器

Screenshots

http://image.nianlun.tech/20231107-104604.jpeg
i delete orher plugins ,only left ai、wb-param(my plugin)、limit-count
http://image.nianlun.tech/20231107-103918.jpeg

Environment

  • apisix version (cmd: apisix version):3.6.0
  • OS (cmd: uname -a): macos arm64
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V):openresty/1.21.4.2
  • etcd version, if have (cmd: run etcd --version):3.5.9
  • apisix-dashboard version, if have: 3.0.1
  • Browser version, if have:

Additional context

No response

@qlql489 qlql489 added the bug Something isn't working label Nov 7, 2023
@holate
Copy link

holate commented Nov 7, 2023

是不是没有在 dashboard的conf.yml 中配置你这个插件。
起因是:
#2735 (comment)
然后修复了这个“bug”,不配置就不显示了

@qlql489
Copy link
Author

qlql489 commented Nov 7, 2023

对,忘记了dashboard的conf.yml 也需要配置,建议官方文档也加一下,现在也没有提

@qlql489 qlql489 closed this as completed Nov 7, 2023
@holate holate mentioned this issue Nov 15, 2023
8 tasks
holate added a commit to holate/apisix-dashboard that referenced this issue Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants