apiaryio / api-blueprint

API Blueprint
https://apiblueprint.org
MIT License
8.64k stars 2.14k forks source link

Add JSON Schema example #278

Closed danielgtaylor closed 8 years ago

danielgtaylor commented 8 years ago

The example is pretty basic, but shows how a simple example could look and includes a list of strings.

kylef commented 8 years ago

Perhaps it would be nice to also include an example of an MSON described data structure with a JSON schema to emphasise you can override generated schemas for MSON structures.

pksunkara commented 8 years ago

Perhaps it would be nice to also include an example of an MSON described data structure with a JSON schema to emphasise you can override generated schemas for MSON structures.

I think that should be another example on it's own along with the other Attributes examples.

Reviewed.

danielgtaylor commented 8 years ago

@kylef @pksunkara should I add another example with MSON or should that be a separate PR?

pksunkara commented 8 years ago

@danielgtaylor You can add it to this PR.

pksunkara commented 8 years ago

Just minor indentation issues.

danielgtaylor commented 8 years ago

@kylef @pksunkara updated with your feedback. Please take another look!