oas-gen-maven-plugin

This is a maven plugin which allows you to generate OpenApiSpecification v3 (Also known as Swagger) for JAX-RS resources during your build. It allows to generate multiples *.yaml files for different resource packages.

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

ru.gladorange
Идентификатор

Идентификатор

oas-gen-maven-plugin
Последняя версия

Последняя версия

1.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

oas-gen-maven-plugin
This is a maven plugin which allows you to generate OpenApiSpecification v3 (Also known as Swagger) for JAX-RS resources during your build. It allows to generate multiples *.yaml files for different resource packages.
Ссылка на сайт

Ссылка на сайт

https://github.com/gladorange/oas-jaxrs-generator
Система контроля версий

Система контроля версий

https://github.com/gladorange/oas-jaxrs-generator

Скачать oas-gen-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>ru.gladorange</groupId>
    <artifactId>oas-gen-maven-plugin</artifactId>
    <version>1.0</version>
</plugin>

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
javax.ws.rs : javax.ws.rs-api jar 2.1
org.apache.maven : maven-plugin-api jar 3.0
io.swagger.core.v3 : swagger-jaxrs2 jar 2.0.0-rc4
org.apache.maven : maven-compat jar 3.0

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.0

Модули Проекта

Данный проект не имеет модулей.

oas-jaxrs-generator

This is a maven plugin which allows you to generate OpenApiSpecification v3 (Also known as Swagger) for JAX-RS resources during your build. It allows to generate multiples *.yaml files for different resource packages.

Example of usage:

Add plugin section to your build:

 <build>
        <plugins>
          <plugin>
            <groupId>ru.gladorange</groupId>
            <artifactId>oas-gen-maven-plugin</artifactId>
            <version>1.0</version>
            <configuration>
              <resources>
                <resource>
                  <packages>ups.auth</packages>
                  <filename>authentication.yaml</filename>
                </resource>
                <resource>
                  <packages>ups.discovery</packages>
                  <filename>discovery</filename>
                </resource>
                <resource>
                  <packages>ups.jc</packages>
                  <filename>join-meeting</filename>
                </resource>
                <resource>
                  <packages>ups.meetmgmt</packages>
                  <filename>meeting-management</filename>
                </resource>
              </resources>
            </configuration>
            <executions>
              <execution>
                <phase>process-classes</phase>
                <goals>
                  <goal>generate</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>

Версии библиотеки

Версия
1.0