Commit 867e0a4
committed
feat(api): oasdiff OpenAI openAPI spec against ours
diff the `/v1/` routes that are OpenAI compatible against the OpenAI openAPI spec. This will of course only trigger on PRs where the spec is changed.
This will catch errors with new handwritten additions to our openAI compat routes.
Instead of fetching the OpenAPI spec from a dynamic URL, which could cause non-deterministic build failures,
this change uses a local copy stored at `docs/static/openai-spec.yml`.
This makes the conformance check fully reproducible and prevents CI failures caused by uncontrolled upstream changes.
Signed-off-by: Charlie Doern <cdoern@redhat.com>1 parent b83184f commit 867e0a4
File tree
2 files changed
+2743
-0
lines changed- .github/workflows
- docs/static
2 files changed
+2743
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
139 | 157 | | |
140 | 158 | | |
141 | 159 | | |
| |||
0 commit comments