Skip to content

fix reference from Collection to ApiDocumentation#252

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

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

Conversation

@soyuka
Copy link
Copy Markdown

@soyuka soyuka commented Oct 23, 2024

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
Copy link
Copy Markdown

w3cbot commented Dec 15, 2024

Karinza38 marked as substantive for IPR from ash-nazg.

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