Skip to content

chore(openapi): Sync vendored OpenAPI spec with canonical schemas - #7

Merged
edenreich merged 1 commit into
mainfrom
claude/issue-6-20260507-0029
May 7, 2026
Merged

edenreich merged 1 commit into
mainfrom
claude/issue-6-20260507-0029

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Summary

Re-runs task oas-download so the vendored openapi.yaml matches the canonical spec, and regenerates inference_gateway/models.py from the refreshed schema.

  • ChatCompletionChoice.logprobs is now the structured object (content + refusal arrays of ChatCompletionTokenLogprob) and is no longer required.
  • Trailing-whitespace drift on FunctionObject.parameters.description and CreateChatCompletionRequest.reasoning_format.description is absorbed.
  • task lint and task test pass locally.

Closes #6

Test plan

  • task lint
  • task test (22/22)
  • CI on PR

Generated with Claude Code

Re-run `task oas-download` so the local `openapi.yaml` matches the
canonical spec. `ChatCompletionChoice.logprobs` now models the
structured object (with `content` and `refusal` arrays of
`ChatCompletionTokenLogprob`) and is no longer required, and trailing
whitespace drift on `FunctionObject.parameters.description` and
`CreateChatCompletionRequest.reasoning_format.description` is picked
up. `inference_gateway/models.py` is regenerated from the refreshed
spec.

Refs #6

Co-authored-by: Eden Reich <[email protected]>
@edenreich
edenreich merged commit 1a58167 into main May 7, 2026
@edenreich
edenreich deleted the claude/issue-6-20260507-0029 branch May 7, 2026 00:34
github-actions Bot pushed a commit that referenced this pull request May 30, 2026
## [0.6.3](v0.6.2...v0.6.3) (2026-05-30)

### ♻️ Improvements

* Remove assignees and reviewers from dependabot ([a5ddc64](a5ddc64))

### 👷 CI

* centralize claude.yml via reusable workflow ([#11](#11)) ([77bbbbc](77bbbbc))
* **claude:** Add maintainer skill ([8422207](8422207))
* **claude:** change effort to max ([0e74a66](0e74a66))
* **claude:** download all maintainer skill assets ([0dafb85](0dafb85))
* **claude:** remove system prompt - use default community maintained prompt ([8fe582f](8fe582f))
* **claude:** standardize workflow + task-based branch prefix ([4076688](4076688))
* **dependabot:** Add dependabot to help with dependecies upgrades ([1833f82](1833f82))
* **deps:** Bump anthropics/claude-code-action ([#8](#8)) ([e324b2a](e324b2a))
* **deps:** Bump anthropics/claude-code-action in the github-actions group ([#10](#10)) ([a14ee0c](a14ee0c))
* **deps:** Bump anthropics/claude-code-action in the github-actions group ([#9](#9)) ([1686d61](1686d61))
* **deps:** Bump inference-gateway/.github/.github/workflows/claude.yml ([#12](#12)) ([5c58a39](5c58a39))
* **deps:** Update Claude Code Action to version 1.0.131 ([bfc24d4](bfc24d4))
* **deps:** Update claude-code-action to version 1.0.130 ([cdafa20](cdafa20))
* Enable display report for Claude Code action ([aaca7b2](aaca7b2))
* **release:** Remove conventional-changelog-cli from semantic release installation ([d3ae551](d3ae551))
* Replace curl installation of task with action setup ([7c88698](7c88698))

### 🔧 Miscellaneous

* **deps:** Bump claude-code and add infer cli to flox environment ([d995d9b](d995d9b))
* **deps:** Bump dev dependencies ([5bf6ef5](5bf6ef5))
* **deps:** Update claude-code to version 2.1.141 and infer to version 0.109.8 ([2c83cc2](2c83cc2))
* **deps:** Update claude-code version to 2.1.141 and infer.flake to v0.109.11 and some other deps ([e5a811e](e5a811e))
* **docs:** Generate AGENTS.md file ([527e032](527e032))
* **docs:** Generate CLAUDE.md file ([5469c03](5469c03))
* **flox:** Bump schema version ([1a274a3](1a274a3))
* **license:** Update license to Apache 2.0 ([0498bec](0498bec))
* **openapi:** Sync vendored OpenAPI spec with canonical schemas ([#7](#7)) ([1a58167](1a58167)), closes [#6](#6)
* Replace em dash with regular dash ([8c55d26](8c55d26))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] Refactor sync vendored openapi.yaml with schemas

1 participant