Supporting typed links
See original GitHub issueit would be useful to support general web-style type links, i.e. links that use RFC 8288 link relation types, as part of API description. this could be for something like service-doc
, home
, RFC 5005 style versioning links, and so forth. it simply would be helpful to reuse the established vocabulary for linking between web resources.
in terms of where to put this, a good place might be either the openapi object or the info object. i’d propose to add a weblinks
member which then would be a map of link relation types and target URIs.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Write helpful links - Harvard's Digital Accessibility Services
Links allow users to navigate a website or web application. An effective link is ... Commonly, link text is the name of the...
Read more >Links - Usability & Web Accessibility - Yale University
Avoid link text like “Click Here,” “More,” and “Read More.” These kinds of links can be confusing when a screen reader reads them...
Read more >Writing useful and accessible link text for websites
Ensuring hypertext links are accessible is a fundamental aspect of web accessibility. Well written link text plays an important part in helping ......
Read more >Writing Hyperlinks: Salient, Descriptive, Start with Keyword
Poor Link Text Hurts Usability, Accessibility, and SEO. Even when the links visually stand out, they need to be meaningful to be helpful....
Read more >Support and Connection Types
The three common types of connections which join a built structure to its foundation are; roller, pinned and fixed. A fourth type, not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
On 2020-01-20 16:01, Henry Andrews wrote:
link objects are an abomination, and their name has so many implications that they cannot deliver on. they do extremely little, and yet their name seems to be sufficient for many to say “look, OpenAPI is supporting hypermedia now.”
maybe. i am really not interested in link objects, they are weird and limited and have nothing to do with hypermedia. but yes, they do confuse people and whatever might be happening with actual hypermedia support would have to address this confusion.
this has been dormant for a long time but we just ran into another scenario where it would be nice if OpenAPI had a way how to cleanly use typed links that link from the OpenAPI description to related resources. it doesn’t feel like it would be a huge work item, in my mind it simply could be an addition to the info object. @darrelmiller, what do you think?