#schema-definition #openapi #extract #document #tree #dot #parser

bin+lib openapi-parser

Extract schemas definitions tree from OpenAPI documents

13 releases (5 breaking)

0.6.1 Mar 1, 2023
0.6.0 Mar 1, 2023
0.5.0 Feb 28, 2023
0.4.6 Feb 10, 2023
0.1.0 Feb 2, 2023

#1723 in Database interfaces

39 downloads per month

MIT license

23KB
573 lines

OPENAPI Parser

Basic library to extract schema structures from OpenAPI 3 documents.

This crate can be used as a standalone binary:

cargo install openapi-parser

Create a tree graph for a schema:

openapi-parser -f openapi.yaml -s MySchema graph | dot -Tpng > dest.png

Dependencies

~16MB
~330K SLoC