init backend
This commit is contained in:
92
pom.xml
92
pom.xml
@ -40,6 +40,26 @@
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- https://github.com/xerial/sqlite-jdbc -->
|
||||
<!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc -->
|
||||
<dependency>
|
||||
<groupId>org.xerial</groupId>
|
||||
<artifactId>sqlite-jdbc</artifactId>
|
||||
<version>3.50.3.0</version>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/io.swagger.parser.v3/swagger-parser-v3 -->
|
||||
<dependency>
|
||||
<groupId>io.swagger.parser.v3</groupId>
|
||||
<artifactId>swagger-parser-v3</artifactId>
|
||||
<version>2.1.34</version>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/io.swagger.parser.v3/swagger-parser-core -->
|
||||
<dependency>
|
||||
<groupId>io.swagger.parser.v3</groupId>
|
||||
<artifactId>swagger-parser-core</artifactId>
|
||||
<version>2.1.34</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@ -48,6 +68,78 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- https://openapi-generator.tech/docs/plugins/ -->
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||||
<version>7.15.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bookmark-api</id>
|
||||
<goals>
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<inputSpec>${project.basedir}/src/main/resources/config/bookmark/bookmark.yaml</inputSpec>
|
||||
<generatorName>spring</generatorName>
|
||||
<configOptions>
|
||||
<sourceFolder>src/gen/java/main</sourceFolder>
|
||||
<delegatePattern>false</delegatePattern>
|
||||
<useTags>true</useTags>
|
||||
<interfaceOnly>true</interfaceOnly>
|
||||
<skipDefaultInterface>true</skipDefaultInterface>
|
||||
<useJakartaEe>true</useJakartaEe>
|
||||
<useBeanValidation>true</useBeanValidation>
|
||||
<withJakartaValidation>true</withJakartaValidation>
|
||||
<openApiNullable>false</openApiNullable>
|
||||
</configOptions>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>user-np-api</id>
|
||||
<goals>
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<inputSpec>${project.basedir}/src/main/resources/config/user_np/user_np.yaml</inputSpec>
|
||||
<generatorName>spring</generatorName>
|
||||
<configOptions>
|
||||
<sourceFolder>src/gen/java/main</sourceFolder>
|
||||
<delegatePattern>false</delegatePattern>
|
||||
<useTags>true</useTags>
|
||||
<interfaceOnly>true</interfaceOnly>
|
||||
<skipDefaultInterface>true</skipDefaultInterface>
|
||||
<useJakartaEe>true</useJakartaEe>
|
||||
<useBeanValidation>true</useBeanValidation>
|
||||
<withJakartaValidation>true</withJakartaValidation>
|
||||
<openApiNullable>false</openApiNullable>
|
||||
</configOptions>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!-- <execution>
|
||||
<id>vfs-client</id>
|
||||
<goals>
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<inputSpec>${project.basedir}/src/main/resources/config/vfs/vfs.yaml</inputSpec>
|
||||
<generatorName>java</generatorName>
|
||||
<configOptions>
|
||||
<library>webclient</library>
|
||||
<dateLibrary>java</dateLibrary>
|
||||
<useBeanValidation>true</useBeanValidation>
|
||||
<withJakartaValidation>true</withJakartaValidation>
|
||||
<openApiNullable>false</openApiNullable>
|
||||
<groupId>com.zzyxyz.api</groupId>
|
||||
<artifactId>vfs-client</artifactId>
|
||||
<artifactVersion>1.0.0</artifactVersion>
|
||||
<modelPackage>com.zzyxyz.api.vfs.model</modelPackage>
|
||||
<apiPackage>com.zzyxyz.api.vfs.api</apiPackage>
|
||||
</configOptions>
|
||||
</configuration>
|
||||
</execution> -->
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user