laminas-api-tools / api-tools

Laminas API Tools module for Laminas
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
37 stars 19 forks source link

JSON-LD support? #42

Open michalbundyra opened 4 years ago

michalbundyra commented 4 years ago

Is there any plans to support json-ld?


Originally posted by @vixriihi at https://github.com/zfcampus/zf-apigility/issues/143

michalbundyra commented 4 years ago

Of the two libraries for PHP linked from your URL the first implements global functions and the second shows an affinity towards static functions. The static function, JsonLD, repository would be the better of these two to build from.

To build this support you will create a repository similar to zf-hal and use Content Negotiation to return json-ld from Apigility: https://github.com/zfcampus/zf-hal#system-configuration

Are you going to make plans?


Originally posted by @TomHAnderson at https://github.com/zfcampus/zf-apigility/issues/143#issuecomment-160094893

michalbundyra commented 4 years ago

Most likely, but we're still evaluating different possibilities so can't say for 100% sure yet.


Originally posted by @vixriihi at https://github.com/zfcampus/zf-apigility/issues/143#issuecomment-160100321