Crates.io | openapi-to-jsdoc |
lib.rs | openapi-to-jsdoc |
version | 0.1.3 |
source | src |
created_at | 2024-03-24 02:13:52.875647 |
updated_at | 2024-04-04 14:23:00.828454 |
description | Generate JSDoc typedefs from OpenAPI 3.0.x spec schemas |
homepage | |
repository | https://github.com/kshyr/openapi-to-jsdoc |
max_upload_size | |
id | 1184034 |
size | 52,166 |
Generates JSDoc @typedef
for every schema in OpenAPI spec.
cargo install openapi-to-jsdoc
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 to openapi.json
-i --output
(default: types.js
) - Output file