Code Monkey home page Code Monkey logo

openapi-to-jsdoc's Introduction

openapi-to-jsdoc's People

Contributors

kshyr avatar

Stargazers

 avatar

Watchers

 avatar

openapi-to-jsdoc's Issues

"not yet implemented" message on generating from openapi 3.0

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

Reproduce

openapi-to-jsdoc -i https://docs.fyp-backend.ivanlau.dev/openapi.json

Log

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.