Skip to content

Simplify the OpenAPI parser

Erwan Rouchet requested to merge simplify-parser into master

Requires !248 (merged), closes #42 (closed), closes !209

  • Removes many parts of the OpenAPI schema that were being parsed but not used in the client, such as license info, contact info, server variables, responses, examples, etc.
  • Removes the entire concepts of "sections"; those were grouping links (endpoints) by tag. We do not care about tags in the client, as we refer to everything through an operation ID, so this simplifies the schema parsing as well as looking up endpoints by operation ID, and reduces the memory footprint.
  • Bumps typesystem to the latest version. 0.3.0 added its own JSON Schema support, removing an entire module from our client.
Edited by Erwan Rouchet

Merge request reports

Loading