【问题标题】:Cannot install swagger jar无法安装招摇罐
【发布时间】:2020-04-28 13:22:12
【问题描述】:

我在为 swagger 执行 jar 安装程序时遇到问题。适应症是使用

java -jar .\swagger-codegen-cli-3.0.19.jar

但我收到这种消息

15:10:11.691 [main] DEBUG io.swagger.codegen.v3.cli.SwaggerCodegen - there are not options for command 'langs'
15:10:11.693 [main] DEBUG io.swagger.codegen.v3.cli.SwaggerCodegen - there are not options for command 'version'

我还没有找到这些参数的用途,或者设置它们要做什么。你有什么想法吗?

【问题讨论】:

    标签: command-line jar swagger executable-jar openapi


    【解决方案1】:

    最新版本 (3.0.22) 适合我

    $ java -jar swagger-codegen-cli-3.0.22.jar version
    3.0.22
    
    $ java -jar swagger-codegen-cli-3.0.22.jar langs
    Available languages: [dart, aspnetcore, csharp, csharp-dotnet2, go, go-server, dynamic-html, html, html2, java, jaxrs-cxf-client, jaxrs-cxf, inflector, jaxrs-cxf-cdi, jaxrs-spec, jaxrs-jersey, jaxrs-di, jaxrs-resteasy-eap, jaxrs-resteasy, micronaut, spring, nodejs-server, openapi, openapi-yaml, kotlin-client, kotlin-server, php, python, python-flask, r, scala, scala-akka-http-server, swift3, swift4, swift5, typescript-angular, typescript-axios, typescript-fetch, javascript]
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-01-10
      • 1970-01-01
      • 1970-01-01
      • 2021-08-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多