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
|
# Dir for API portal deploy
|
||||||
dist
|
dist
|
||||||
out
|
out
|
||||||
|
/.idea/
|
||||||
|
/lib/
|
||||||
|
/node_modules/
|
||||||
|
/static/
|
||||||
|
/web_deploy/
|
||||||
|
openapitools.json
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
logs
|
logs
|
||||||
@ -38,7 +44,7 @@ node_modules
|
|||||||
|
|
||||||
# Generated
|
# Generated
|
||||||
web_deploy/
|
web_deploy/
|
||||||
target
|
target/
|
||||||
|
|
||||||
# User-specific stuff:
|
# User-specific stuff:
|
||||||
.idea/
|
.idea/
|
||||||
@ -60,10 +66,8 @@ target
|
|||||||
# Gradle:
|
# Gradle:
|
||||||
.idea/gradle.xml
|
.idea/gradle.xml
|
||||||
.idea/libraries
|
.idea/libraries
|
||||||
|
.DS_Store
|
||||||
|
spec/.DS_Store
|
||||||
|
|
||||||
# Frontend
|
# Frontend
|
||||||
/lib
|
/lib
|
||||||
redoc-static.html
|
|
||||||
|
|
||||||
#Mac OS
|
|
||||||
.DS_Store
|
|
@ -12,8 +12,9 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "openapi preview-docs",
|
"start": "openapi preview-docs",
|
||||||
"build": "openapi bundle -o openapi/openapi.yaml",
|
"build": "openapi bundle -o web_deploy/openapi.yaml && openapi bundle -o web_deploy/openapi.json",
|
||||||
"docs": "redocly build-docs openapi/openapi.yaml --output static/index.html",
|
"docs": "redocly build-docs ./web_deploy/openapi.yaml --output static/index.html",
|
||||||
"validate": "openapi lint"
|
"validate": "openapi lint",
|
||||||
|
"codegen": "vality-openapi generate ./web_deploy/openapi.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
pom.xml
4
pom.xml
@ -128,7 +128,7 @@
|
|||||||
<goal>generate</goal>
|
<goal>generate</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<inputSpec>openapi/openapi.yaml</inputSpec>
|
<inputSpec>web_deploy/openapi.yaml</inputSpec>
|
||||||
<generatorName>spring</generatorName>
|
<generatorName>spring</generatorName>
|
||||||
<generateModels>true</generateModels>
|
<generateModels>true</generateModels>
|
||||||
<generateApis>true</generateApis>
|
<generateApis>true</generateApis>
|
||||||
@ -165,7 +165,7 @@
|
|||||||
<goal>generate</goal>
|
<goal>generate</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<inputSpec>openapi/openapi.yaml</inputSpec>
|
<inputSpec>web_deploy/openapi.yaml</inputSpec>
|
||||||
<generatorName>java</generatorName>
|
<generatorName>java</generatorName>
|
||||||
<configOptions>
|
<configOptions>
|
||||||
<dateLibrary>java8</dateLibrary>
|
<dateLibrary>java8</dateLibrary>
|
||||||
|
Loading…
Reference in New Issue
Block a user