-
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
adds missing formats in the registry #3167
Conversation
@handrews thanks for the help here. Another question/remark I had is why do we need the issue link in the table view? could we do away with it to replace the column by notes (like using the content encoding in 3.1 instead of base64url format)? |
@baywet I don't know anything about that table so someone else will have to answer the thing about the issue link. It might be good to have a notes column, or an OAS version translation column of some sort. |
Looks like this was originally added by @webron and @MikeRalphson in #1762. Any opposition to removing the Issue column to make room for a notes, parent type and version columns? |
I have no objection to removing the issue column from the index table, as long as the optional issue link is maintained in the detail pages. |
@MikeRalphson thanks! I just pushed some changes, let me know what you think. |
@baywet, I went to https://baywet.github.io/OpenAPI-Specification/ hoping you'd set up your branch as a GitHub pages source so we could view the built changes, and the top-level |
@MikeRalphson the fork had automatically setup the website. But the root is already used by my blog and it seems the template doesn't handle being on a sub segment very well. Also the branch was setup to gh_pages but I'm making my changes on a feature branch. Bottom line, it's now refreshed at https://baywet.github.io/OpenAPI-Specification/registry/format/ and if you click on any link, the OpenApi-Specification segment will be missing, so you need to add it back. |
@baywet Just noticed that |
@ralfhandl this is something I noticed as well and meant to ask when opening the PR but forgot about it. |
Co-authored-by: Darrel <[email protected]>
@rattrayalex I don't think this is something you can do (format doesn't support arrays AFAIK), you'd have to use 2 schema entries in an oneOf IMHO |
Resurfacing this comment for @darrelmiller |
I guess we could. I don't feel strongly about this. |
Signed-off-by: Vincent Biret <[email protected]>
Thanks for the precision. Added. @darrelmiller @handrews @MikeRalphson @ralfhandl We should be good for hopefully final review this time. |
Co-authored-by: Mike Ralphson <[email protected]>
@MikeRalphson thanks for catching that. Your suggestion appears to have fixed it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@baywet you are correct about html
, it is fine as it is! (This is why I wanted to split the changed vs new files - I know the diff shows what kind of changes there are but with a PR touching this many files that I'm half-reviewing in diff and half-reviewing in rendered, it's confusing).
I see that some RFC references are links and some are not- they should either all be links or all not be links. Aside from that, I think everything here is ready to go. I'll approve this and you and @darrelmiller can sort out what to do (or not do) about the other RFC links.
Wait, why is there still a |
@handrews The version is not displayed anywhere at this time, it's used as a flag for the table and as a note for us in case we need to review why was this particular format marked as deprecated. The only place where people can see it is if they view the source MD. If we want to have it gone from the YAML header too (no mention of the version), I'd be happy to update it. |
@handrews @baywet Sorry, I should have been more clear. I wanted to call it deprecation note to indicate that a version was not a required value to indicate that something was deprecated. e.g. If a registry entry was created because we discovered that people had using the term "flag" to indicate boolean but there was no corresponding specification, we should be able to indicate that we want it to be deprecated. I thought I had caught all the RFCs with missing links. I'll do one more sweep and if I miss any today, I'll submit a separate PR for them. |
Thank you @baywet @handrews @ralfhandl for your herculean efforts! |
Ditto! Thanks everyone for the help getting this merged!!! 🚀🚀🚀🚀 |
fixes #845
closes #1811