apiaryio / drafter

API Blueprint Parser (C++)
https://apiblueprint.org/
MIT License
301 stars 54 forks source link

C API options to allow skipping message body (schema) generation #781

Closed tjanc closed 4 years ago

tjanc commented 4 years ago

Builds on tjanc/refactor-payloads-2 to implement skipping asset generation as laid out in https://github.com/apiaryio/api-elements.js/pull/281 .

In more detail, two options are added to drafter_parse_options and the drafter C API:

Simple tests were added. Some test logic was moved into a seperate compilation unit test/ctesting.cc.

Not in scope of this PR