download-spec contextual menu option serves stale/cached spec content, and mislabels JSON as .yaml
#6854
NizarBerjawi
started this conversation in
Bugs & Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary:
The download-spec contextual menu option has two bugs:
Config used:
{ "navigation": { "tabs": [ { "tab": "API reference", "icon": "terminal", "pages": [ { "group": "Endpoints", "expanded": false, "openapi": "api-reference/openapi.yaml" } ] } ] }, "contextual": { "options": [ "copy", "download-spec", "mcp", "add-mcp", "chatgpt", "claude", "cursor", "vscode" ] } }Steps to reproduce:
docs.json's openapi navigation entry at a .yaml file.Expected:
.yaml, or.jsonif the content is JSON).Actual:
Impact: Minor but confusing — anyone opening the file in an editor expecting YAML gets JSON. Not documented either way on the contextual menu docs page.
All reactions