question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Supporting typed links

See original GitHub issue

it 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:open
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
dretcommented, Jan 21, 2020

On 2020-01-20 16:01, Henry Andrews wrote:

@dret https://github.com/dret I was going to ask how that differs from the existing OAS 3.0 Link Objects, but then I looked and sure enough there is no place for RFC 8288 link relation types 😮

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.”

Since the Link Objects are themselves entries in an object, I suppose the names in that object could be treated as RFC 8288 link relation types, but that is not made explicit anywhere.

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.

0reactions
dretcommented, Aug 11, 2022

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found