kshyr / openapi-to-jsdoc Goto Github PK
View Code? Open in Web Editor NEWGenerates JSDoc typedefs for every schema in OpenAPI spec.
Generates JSDoc typedefs for every schema in OpenAPI spec.
The openapi.json works when I try to generate a d.ts
file, but doesn't work when I try to use this package to generate JSDoc
version: v0.1.2
openapi-to-jsdoc -i https://docs.fyp-backend.ivanlau.dev/openapi.json
Downloading OpenAPI JSON from https://docs.fyp-backend.ivanlau.dev/openapi.json
thread 'main' panicked at /Users/ivanlauhk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openapi-to-jsdoc-0.1.2/src/jsdoc/mod.rs:61:22:
not yet implemented
stack backtrace:
0: 0x1008bf52c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd4e6df6dd376d525
1: 0x1008db994 - core::fmt::write::h5a442bf928ef18fb
2: 0x1008bc920 - std::io::Write::write_fmt::h01fe6f9cc882fac7
3: 0x1008bf360 - std::sys_common::backtrace::print::h249c7fd853efd630
4: 0x1008c08ec - std::panicking::default_hook::{{closure}}::h539bfee0454d0951
5: 0x1008c0634 - std::panicking::default_hook::he5a7d244fe90fc13
6: 0x1008c0d28 - std::panicking::rust_panic_with_hook::h9b82bdc13ccb171b
7: 0x1008c0bf0 - std::panicking::begin_panic_handler::{{closure}}::hf609a05c98725eb7
8: 0x1008bf9b0 - std::sys_common::backtrace::__rust_end_short_backtrace::hea0399d584786a2b
9: 0x1008c09a4 - _rust_begin_unwind
10: 0x1008f6400 - core::panicking::panic_fmt::hb4d79f470bcac176
11: 0x1008f6488 - core::panicking::panic::h200a44837950e7c1
12: 0x1006c361c - openapi_to_jsdoc::jsdoc::generate_typedef::h92c5ca905b66ad08
13: 0x1006dcc34 - openapi_to_jsdoc::main::hc26b3c76004a38e0
14: 0x100706298 - std::sys_common::backtrace::__rust_begin_short_backtrace::h625a1484af8608cf
15: 0x1006dfac8 - std::rt::lang_start::{{closure}}::h904295f1d201a376
16: 0x1008b7c38 - std::rt::lang_start_internal::h7f00bef3cf1b3caa
17: 0x1006ddbcc - _main
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.