You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The first `servers` entry defines upstream nodes (`httpbin:8080` for local compose).
34
+
-`x-adc-*` per operation guides ADC resource generation:
35
+
-`x-adc-name`: route name override (`httpbin_get`, etc.)
36
+
-`x-adc-plugins`: enable plugins (e.g., `cors`)
36
37
37
38
## Use ADC (Local)
38
39
@@ -45,14 +46,14 @@ When ADC CLI is ready, use `make render` to produce APISIX config and `make publ
45
46
46
47
Notes:
47
48
- This repo assumes `adc` is available in PATH.
48
-
- ADC verbs vary by version. Scripts attempt common ones and will guide you if adjustment is needed. For ADC 0.21.2, there is no `render` command; `scripts/adc_render.sh` tries `openapi generate`, `generate`, then `compile`.
49
+
- ADC verbs vary by version. Scripts attempt common ones and will guide you if adjustment is needed. For ADC 0.21.2, the script first tries `adc convert openapi`; if unavailable it falls back to historical verbs (`adc openapi generate`, `adc generate`, `adc render`, `adc compile`).
49
50
50
51
## GitHub Actions (CI/CD)
51
52
52
53
- Workflow: `.github/workflows/cicd.yaml`
53
54
- Triggers: push to `main` or PR
54
55
- Steps:
55
-
- Install/prepare ADC (adjust to your environment)
0 commit comments