-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken markdown link referencing "media type range" #2796
Comments
Thanks for bringing this up. My guess is that this is a rendering issue related to anchored URL. We'll need to take a look at the generation process in order to solve it. |
I believe the problem is to do with this regex-cleanup stuff here: https://github.com/OAI/OpenAPI-Specification/blob/main/scripts/md2html/md2html.js#L262 @webron is this something you'd appreciate a pull request for? If so, from/into what branch? |
We always welcome PRs, and in this case against |
I also see something similar on the github site at https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#fixed-fields - in "webhooks", the text is |
@karenetheridge that looks unrelated, the actual markdown has the extra trailing <a name="oasWebhooks"></a>webhooks | Map[`string`, [Path Item Object](#pathItemObject) \| [Reference Object](#referenceObject)] ] | The incoming webhooks... |
I created pull request #2798 to |
I created #2831 for the unrelated markdown error in the webhooks section. |
Closing as the cause was fixed in #2798 - thanks all! |
On the OpenAPI specs page for Request Body Object what is loaded in my browser looks like this (note the highlighted text):
I believe that comes from /versions/3.1.0.md but the Markdown looks correct to me:
I tried copy+pasting the surrounding section over to the markdown-it online demo to see if maybe the table syntax was buggy, but it renders correctly there.
Is there a possibility that the published version (at
spec.openapis.org/oas/latest.html
) is not actually generated from the latest markdown file?I'm not sure what else to do to be helpful, sorry!
The text was updated successfully, but these errors were encountered: