mirror of
https://github.com/valitydev/swag-disputes.git
synced 2024-11-06 00:55:17 +00:00
fix java deploy
This commit is contained in:
parent
614c5a6668
commit
e5bac4a35e
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,6 +1,12 @@
|
||||
# Dir for API portal deploy
|
||||
dist
|
||||
out
|
||||
/.idea/
|
||||
/lib/
|
||||
/node_modules/
|
||||
/static/
|
||||
/web_deploy/
|
||||
openapitools.json
|
||||
|
||||
# Logs
|
||||
logs
|
||||
@ -38,7 +44,7 @@ node_modules
|
||||
|
||||
# Generated
|
||||
web_deploy/
|
||||
target
|
||||
target/
|
||||
|
||||
# User-specific stuff:
|
||||
.idea/
|
||||
@ -60,10 +66,8 @@ target
|
||||
# Gradle:
|
||||
.idea/gradle.xml
|
||||
.idea/libraries
|
||||
.DS_Store
|
||||
spec/.DS_Store
|
||||
|
||||
# Frontend
|
||||
/lib
|
||||
redoc-static.html
|
||||
|
||||
#Mac OS
|
||||
.DS_Store
|
@ -12,8 +12,9 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "openapi preview-docs",
|
||||
"build": "openapi bundle -o openapi/openapi.yaml",
|
||||
"docs": "redocly build-docs openapi/openapi.yaml --output static/index.html",
|
||||
"validate": "openapi lint"
|
||||
"build": "openapi bundle -o web_deploy/openapi.yaml && openapi bundle -o web_deploy/openapi.json",
|
||||
"docs": "redocly build-docs ./web_deploy/openapi.yaml --output static/index.html",
|
||||
"validate": "openapi lint",
|
||||
"codegen": "vality-openapi generate ./web_deploy/openapi.json"
|
||||
}
|
||||
}
|
||||
|
4
pom.xml
4
pom.xml
@ -128,7 +128,7 @@
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<inputSpec>openapi/openapi.yaml</inputSpec>
|
||||
<inputSpec>web_deploy/openapi.yaml</inputSpec>
|
||||
<generatorName>spring</generatorName>
|
||||
<generateModels>true</generateModels>
|
||||
<generateApis>true</generateApis>
|
||||
@ -165,7 +165,7 @@
|
||||
<goal>generate</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<inputSpec>openapi/openapi.yaml</inputSpec>
|
||||
<inputSpec>web_deploy/openapi.yaml</inputSpec>
|
||||
<generatorName>java</generatorName>
|
||||
<configOptions>
|
||||
<dateLibrary>java8</dateLibrary>
|
||||
|
Loading…
Reference in New Issue
Block a user