hydra を使用して定義された操作を持つ JSON-LD の RESTful サービスのスケルトンを生成するツールはありますか? たとえば、以下の例を見てみましょう。Java クラスに Person が存在すると仮定すると、JSON-LD をリバース エンジニアリングして完全な spring mvc コードを生成するツールを構築する生のアイデアは何でしょうか。
{
"@context": [
"http://www.w3.org/ns/hydra/core",
{
"@vocab": "https://schema.org/",
"image": { "@type": "@id" },
"friends": { "@type": "@id" }
}
],
"@id": "https://api.example.com/player/1234567890/friends",
"operation": {
"@type": "BefriendAction",
"method": "POST",
"expects": {
"@id": "http://schema.org/Person",
"supportedProperty": [
{ "property": "name", "range": "Text" },
{ "property": "alternateName", "range": "Text" },
{ "property": "image", "range": "URL" }
]
}
}
}