Baoyuantop commented on issue #3395: URL: https://github.com/apache/apisix-dashboard/issues/3395#issuecomment-4560377697
Thanks for the report. This scenario appears to be due to a mismatch between the Dashboard's Route form constraints and the APISIX Route schema. APISIX itself allows creating routes that only contain `uri` and `plugins.public-api`; the official `public-api` metrics example also uses this configuration, which doesn't require an upstream. The Dashboard's current Route form always displays and processes the upstream configuration, so in plugin-only route scenarios like `public-api`, it might incorrectly treat upstream as a required field. You can temporarily create this configuration using the admin API to avoid this issue. We'll need to verify later whether the dashboard can implement such flexible validation rules. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
