#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

#1081 in Database interfaces

Download history 147/week @ 2024-02-16 26/week @ 2024-02-23 1/week @ 2024-03-01 1/week @ 2024-03-08 1/week @ 2024-03-15 90/week @ 2024-03-29

92 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

~15MB
~355K SLoC