4

Project uses annotations from swagger 2, from this package:

        <dependency>
            <groupId>io.swagger</groupId>
            <artifactId>swagger-annotations</artifactId>
            <version>1.5.13</version>
        </dependency>

And then this to generate swagger json:

          ...  <groupId>com.github.kongchen</groupId>
            <artifactId>swagger-maven-plugin</artifactId>...

But that plugin cannot generate json for openapi 3. Is there any maven plugin that can generate openapi 3 json using annotations from aforementioned package?

  • 1
    There's [openapi-tools/swagger-maven-plugin](https://github.com/openapi-tools/swagger-maven-plugin) which is "heavily inspired by that" refering to the plugin you have tried to use already, have you given that a try yet? It supports OpenAPI 3.0 and is available on Maven Central. – Mark Dec 19 '18 at 11:09
  • 1
    I've been searching for something like that, thanks, I'll give it a try. –  Dec 19 '18 at 12:51

0 Answers0