Closed tjanc closed 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:
drafter_parse_options
skip_gen_bodies
skip_gen_body_schemas
Simple tests were added. Some test logic was moved into a seperate compilation unit test/ctesting.cc.
test/ctesting.cc
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:skip_gen_bodies
[bool, default: false], when set, skips generating message body assetsskip_gen_body_schemas
[bool, default: false], when set, skips generating message body schema assetsSimple tests were added. Some test logic was moved into a seperate compilation unit
test/ctesting.cc
.Not in scope of this PR