the-grid / apidocs

API documentation for The Grid
https://developer.thegrid.io
44 stars 9 forks source link

Fix full schemas #77

Closed bergie closed 7 years ago

bergie commented 7 years ago

Currently our full schemas are broken due to circular references in contentblock. This makes JSON schema derefencing failures fatal, and fixes the contentblock->specific type circular refs

jonnor commented 7 years ago

@bergie this means that one should never use the individual block schemas right, as they are not complete? For instance article, cta etc. Instead one must use contentblock. Should we then remove the built .json for such not-useful schema snippets, so they are not accidentially used?

bergie commented 7 years ago

Well, the JSON needs to be build so contentblock can ref them

bergie commented 7 years ago

@jonnor good to go?

jonnor commented 7 years ago

@bergie deploy at will