apisix-dashboard
apisix-dashboard copied to clipboard
When route choose to use plugin_configs, the export/import has a bug
Issue description
When I add plugin_configs and add it in route, before export the route, the route data is like below
And after I import the route, I got this data
BTW, I didn't use request-validation
plugin in plugin_configs
And I saw few methods was deleted after import
Suggestion: Can we simply export data in etcd instead of openapi? Because currently if our route bind with service or upstream, after we export/import the route, the service or upstream config will be removed and set in route directly. When we sync config from different environment, this is not we wanted, we also want sync the service and upstream config. But through openapi, it's complicated. And this can be easily done with export json data in etcd.