3 releases
0.1.3 | Apr 4, 2024 |
---|---|
0.1.2 | Mar 24, 2024 |
0.1.1 | Mar 24, 2024 |
#2191 in Web programming
15KB
281 lines
Generates JSDoc @typedef
for every schema in OpenAPI spec.
Install:
cargo install openapi-to-jsdoc
Usage
openapi-to-jsdoc -i https://api.example.com/openapi.json -o output.js
-i, --input
(default:openapi.json
) - Takes in path to file or URL toopenapi.json
-i --output
(default:types.js
) - Output file
Dependencies
~12–24MB
~345K SLoC