API Declarative CLI (ADC) manages Apache APISIX and API7 Enterprise configuration from local YAML or JSON files. Use it to export existing gateway configuration, review drift, validate proposed changes, and apply the desired state through the gateway Admin API.
Start with the workflow guide if you are setting up ADC for the first time. Use the reference pages when you need exact command flags, configuration fields, or OpenAPI conversion behavior.
- Use ADC for Declarative Configuration: configure a backend, write an
adc.yamlfile, lint it, preview changes, sync it, and export backups. - Resource IDs: understand how ADC matches local resources to remote resources, especially before adopting resources that were created outside ADC.
- Label Selector: split ownership by labels so multiple teams or pipelines can manage one backend safely.
- CLI Command Reference: commands, flags, backend options, and examples.
- Configuration Reference: ADC configuration file structure, variables, resource fields, and links to the generated schema.
- OpenAPI Converter Reference:
adc convert openapi, supportedx-adc-*extensions, merge rules, and examples.
These files describe implementation-specific behavior for ADC backends and converters: