com.github.ollgei.base:base-swagger-annotator

Parent pom providing dependency and plugin management for applications built with Maven

License

License

Categories

Categories

Swagger Program Interface REST Frameworks
GroupId

GroupId

com.github.ollgei.base
ArtifactId

ArtifactId

base-swagger-annotator
Last Version

Last Version

1.0.0.M2
Release Date

Release Date

Type

Type

jar
Description

Description

Parent pom providing dependency and plugin management for applications built with Maven
Project URL

Project URL

https://projects.spring.io/spring-boot/#/spring-boot-starter-parent/base-swagger-annotator
Source Code Management

Source Code Management

https://github.com/ollgei/base-swagger-annotator

Download base-swagger-annotator

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.ollgei.base/base-swagger-annotator/ -->
<dependency>
    <groupId>com.github.ollgei.base</groupId>
    <artifactId>base-swagger-annotator</artifactId>
    <version>1.0.0.M2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.ollgei.base/base-swagger-annotator/
implementation 'com.github.ollgei.base:base-swagger-annotator:1.0.0.M2'
// https://jarcasting.com/artifacts/com.github.ollgei.base/base-swagger-annotator/
implementation ("com.github.ollgei.base:base-swagger-annotator:1.0.0.M2")
'com.github.ollgei.base:base-swagger-annotator:jar:1.0.0.M2'
<dependency org="com.github.ollgei.base" name="base-swagger-annotator" rev="1.0.0.M2">
  <artifact name="base-swagger-annotator" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.ollgei.base', module='base-swagger-annotator', version='1.0.0.M2')
)
libraryDependencies += "com.github.ollgei.base" % "base-swagger-annotator" % "1.0.0.M2"
[com.github.ollgei.base/base-swagger-annotator "1.0.0.M2"]

Dependencies

compile (2)

Group / Artifact Type Version
org.jsonschema2pojo : jsonschema2pojo-core jar 1.0.2
io.swagger : swagger-annotations jar 1.6.1

Project Modules

There are no modules declared in this project.

base-swagger-annotator

swagger for jsonschema2pojo

使用

<plugin>
    <groupId>org.jsonschema2pojo</groupId>
    <artifactId>jsonschema2pojo-maven-plugin</artifactId>
    <dependencies>
        <dependency>
            <groupId>com.github.ollgei.base</groupId>
            <artifactId>base-jsonschema2pojo-library</artifactId>
            <version>1.0.0.RC1</version>
        </dependency>
        <dependency>
            <groupId>javax.validation</groupId>
            <artifactId>validation-api</artifactId>
            <version>2.0.1.Final</version>
        </dependency>
    </dependencies>
    <configuration>
        <sourceType>jsonschema</sourceType>
        <sourceDirectory>${basedir}/../fd-json-schema/statemachine</sourceDirectory>
        <targetPackage>com.lunz.fin.fd.statemachine.pojo</targetPackage>
        <targetLanguage>java</targetLanguage>
        <annotationStyle>jackson2</annotationStyle>
        <includeAdditionalProperties>false</includeAdditionalProperties>
        <includeJsr303Annotations>true</includeJsr303Annotations>
        <serializable>true</serializable>
        <classNameSuffix>Dto</classNameSuffix>
        <customAnnotator>com.github.ollgei.base.jsonschema2pojo.annotator.SwaggerAnnotator</customAnnotator>
        <customRuleFactory>com.github.ollgei.base.jsonschema2pojo.SpecPojoRuleFactory</customRuleFactory>
    </configuration>
    <executions>
        <execution>
            <goals>
                <goal>generate</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Versions

Version
1.0.0.M2
1.0.0.M1