Baoyuantop commented on issue #2019: URL: https://github.com/apache/apisix-dashboard/issues/2019#issuecomment-889729630
> Hi @Baoyuantop, all schema in Apache APISIX is in here[1]. > > I just checked the `health_checker` schema, and the `port` field is optional indeed, I'm not sure what will happen if we don't pass the port field 🤔 need more search on Apache APISIX. > > BTW, the Web should omit all `null` values when sending a Request > > [1] https://github.com/apache/apisix/blob/master/apisix/schema_def.lua#L139-L142 I tested the api, it returns 200 when I don't pass the port field, so it's a good idea to omit all `null` values -- 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]
