Skip to content

fix reference from Collection to ApiDocumentation#252

Open
soyuka wants to merge 1 commit into
HydraCG:masterfrom
soyuka:patch-2
Open

fix reference from Collection to ApiDocumentation#252
soyuka wants to merge 1 commit into
HydraCG:masterfrom
soyuka:patch-2

Conversation

@soyuka

@soyuka soyuka commented Oct 23, 2024

Copy link
Copy Markdown

The change is as followed on Example 28:

{
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
  "@id": "http://api.example.com/api-documentation",
  "@type": "ApiDocumentation",
  "api:find": {
    "supportedOperation": {
      "@type": "SupportedOperation",
      "method": "POST"
    }
  }
}

{
  "@context": "http://www.w3.org/ns/hydra/context.jsonld",
  "@id": "http://api.example.com/issues",
  "@type": "Collection",
-  "api:search": {
+  "api:find": {
    "@type": "IriTemplate",
    "template": "/issues?find={name}",
    "mapping": {...}
  }
}

As I don't think it makes sense otherwise.

@w3cbot

w3cbot commented Dec 15, 2024

Copy link
Copy Markdown

Karinza38 marked as substantive for IPR from ash-nazg.

@soyuka soyuka mentioned this pull request Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants