openapi-spring-test-generator-common

Common code of OpenAPI Spring Test Generator

Лицензия

Лицензия

Категории

Категории

Java Языки программирования
Группа

Группа

eu.lundegaard.java
Идентификатор

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

openapi-spring-test-generator-common
Последняя версия

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

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

openapi-spring-test-generator-common
Common code of OpenAPI Spring Test Generator
Организация-разработчик

Организация-разработчик

Lundegaard a.s.

Скачать openapi-spring-test-generator-common

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

<!-- https://jarcasting.com/artifacts/eu.lundegaard.java/openapi-spring-test-generator-common/ -->
<dependency>
    <groupId>eu.lundegaard.java</groupId>
    <artifactId>openapi-spring-test-generator-common</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/eu.lundegaard.java/openapi-spring-test-generator-common/
implementation 'eu.lundegaard.java:openapi-spring-test-generator-common:1.0.2'
// https://jarcasting.com/artifacts/eu.lundegaard.java/openapi-spring-test-generator-common/
implementation ("eu.lundegaard.java:openapi-spring-test-generator-common:1.0.2")
'eu.lundegaard.java:openapi-spring-test-generator-common:jar:1.0.2'
<dependency org="eu.lundegaard.java" name="openapi-spring-test-generator-common" rev="1.0.2">
  <artifact name="openapi-spring-test-generator-common" type="jar" />
</dependency>
@Grapes(
@Grab(group='eu.lundegaard.java', module='openapi-spring-test-generator-common', version='1.0.2')
)
libraryDependencies += "eu.lundegaard.java" % "openapi-spring-test-generator-common" % "1.0.2"
[eu.lundegaard.java/openapi-spring-test-generator-common "1.0.2"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
io.swagger.core.v3 : swagger-models jar 2.0.9
io.swagger.core.v3 : swagger-core jar 2.0.9
org.springdoc : springdoc-openapi-common jar 1.1.47
org.springframework.boot : spring-boot-starter jar
org.springframework.boot : spring-boot-configuration-processor Необязательный jar

provided (1)

Идентификатор библиотеки Тип Версия
org.projectlombok : lombok jar

test (2)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-test jar
org.junit.jupiter : junit-jupiter jar 5.5.2

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

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

openapi-spring-test-generator

A Spring Boot starter that generates OpenAPI documentation during the test phase of the project.

This library wraps springdoc-openapi library that produces OpenAPI endpoint in running Spring applications.

Maven Central

POM Configuration

Add following dependency with test scope to activate this library. For webflux applications, use openapi-spring-test-generator-weblux artifact.

<project>
  ...
  <dependencies>
    ...
    <dependency>
        <groupId>eu.lundegaard.java</groupId>
        <artifactId>openapi-spring-test-generator-mvc</artifactId>
        <version>${latest-version}</version>
        <scope>test</scope>
    </dependency>
    ...
  </dependencies>
   ...
</project>

Configuration

You can configure output by passing arguments via the surefire plugin.

<project>
    ...
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <systemPropertyVariables>
                        <openpi-generator.generateJson>false</openpi-generator.generateJson>
                        <openpi-generator.generateYaml>true</openpi-generator.generateYaml>
                        <openpi-generator.outputDirectory>target/generated-docs</openpi-generator.outputDirectory>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
Name Default Value Description
openpi-generator.generateJson true If true openapi.json will be generated into the output folder
openpi-generator.generateYaml true If true openapi.yaml will be generated into the output folder
openpi-generator.outputDirectory target/classes/static/docs Output folder
eu.lundegaard.java

Lundegaard a.s.

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

Версия
1.0.2