nic-chen commented on issue #2700: URL: https://github.com/apache/apisix/issues/2700#issuecomment-725730479
I think the main logic should be: When APISIX starts, read the key `/apisix/jsonschema` of ETCD. If the key does not exist or is empty, then read the JSON schema from APISIX and save to the ETCD key `/apisix/jsonschema`. If the key already exists and is not empty, nothing will be done. APISIX provides a command line tool that can be used to manually update the JSON schema, like: `apisix sync-schema`, users can use this tool to update JSON schema when needed. What do you think ? cc @membphis @moonming @liuxiran @dabue @tokers @ShiningRush ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
