The deck gateway validate
command reads one or more declarative state files and ensures validity. It reports YAML/JSON parsing issues, checks for foreign relationships, and alerts if there are broken relationships or missing links present.
This command also validates against the Admin API via communication with Kong Gateway. This increases the time for validation but catches significant errors. No resource is created in Kong Gateway.
For offline validation, see deck file validate.