Skip to content

fix: bump stale openapi.json info.version 0.1.6 → 0.2.0 (#60) - #90

Open
Vishnu J (vishnujayvel) wants to merge 1 commit into
langchain-ai:mainfrom
vishnujayvel:fix/openapi-version-mismatch
Open

fix: bump stale openapi.json info.version 0.1.6 → 0.2.0 (#60)#90
Vishnu J (vishnujayvel) wants to merge 1 commit into
langchain-ai:mainfrom
vishnujayvel:fix/openapi-version-mismatch

Conversation

@vishnujayvel

Copy link
Copy Markdown

What

Fixes #60openapi.json's info.version has been frozen at 0.1.6 while the
API moved on. The /runs endpoint consolidation that #60 references shipped with
0.2.0 and is already present in the current spec, but the version string was never
bumped. The Scalar API docs page (api.html) renders info.version, so the
published docs currently show the wrong version.

What changed

A single line in openapi.json:

-    "version": "0.1.6"
+    "version": "0.2.0"

Nothing else.

Why 0.2.0

This matches the causal story in #60 and the commit (59338b3, "Small fixes for
0.2.0") that landed the /runs consolidation. Happy to target 0.2.1 instead —
the latest tag — if you'd prefer the newest tagged version; just say the word. I
avoided inventing a fresh 0.3.0 so this stays a pure metadata correction and
doesn't imply a new release cut.

Verification

  • Valid JSON (json.load parses cleanly), and prettier --write openapi.json
    produces zero diff (stays formatter-clean).
  • No CI in the repo validates/lints the spec; no runtime contract change.

Thanks to the #60 reporter for catching this.

The Scalar API docs (api.html) render whatever `info.version` is set
to in openapi.json, which has been frozen at 0.1.6 since langchain-ai#46 even
though the spec has since been substantially reworked (run creation
consolidated under /runs, streaming, resume, etc.). Commit 59338b3
("Small fixes for 0.2.0") shows 0.2.0 was already the intended label
for that consolidation, so this bumps the field to match.

Verified: valid JSON, `make format-openapi` reports the file
unchanged (already prettier-formatted), and the version field isn't
referenced by generated server code (`make gen-server` diff is
unaffected by this change).

Fixes langchain-ai#60
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.

Possible https://langchain-ai.github.io/agent-protocol/api.html version mismatch

1 participant