LGTM

Just like created_at​ and updated_at​ in the database, no explicit input is 
required, nor should it be.
But will they show up in the Response?

________________________________

李奕浩




________________________________
发件人: Shiwen Ji <jishi...@api7.ai>
发送时间: 2023年9月1日 17:17
收件人: dev@apisix.apache.org <dev@apisix.apache.org>
主题: Remove useless args in APISIX admin APIs and script function in Service and 
Router

*Background*

1. I think `create_time` and `update_time` in create body are unnecessary.
The response to the management API is generated from etcd data so that we
can remove these two fields from the resource definition.
2. Additionally, I removed the script functionality from service and route
since they are not used very often.

*Result*
According to the issue content, I deleted the `create_time` and
`update_time` attributes in the relevant resource definition. The deleted
resources include service, router, upstream, consumer, ssl, consumer-group,
plugin-config, stream_route, global-rule and proto.
The `script` functions in `service` and `route` will also be deleted.

Best Regards!
Shiwen Ji

Reply via email to