swagger 설정 추가
This commit is contained in:
@@ -22,5 +22,15 @@
|
|||||||
<artifactId>cmm</artifactId>
|
<artifactId>cmm</artifactId>
|
||||||
<version>${parent.version}</version>
|
<version>${parent.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.springfox</groupId>
|
||||||
|
<artifactId>springfox-swagger2</artifactId>
|
||||||
|
<version>2.9.2</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.springfox</groupId>
|
||||||
|
<artifactId>springfox-swagger-ui</artifactId>
|
||||||
|
<version>2.9.2</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
@@ -33,6 +33,11 @@
|
|||||||
<artifactId>ustra-security-jwt</artifactId>
|
<artifactId>ustra-security-jwt</artifactId>
|
||||||
<version>${ustra.version}</version>
|
<version>${ustra.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.gsitm.ustra.java</groupId>
|
||||||
|
<artifactId>ustra-management-core</artifactId>
|
||||||
|
<version>${ustra.version}</version>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>sample.ustraframework.java</groupId>
|
<groupId>sample.ustraframework.java</groupId>
|
||||||
<artifactId>cmm</artifactId>
|
<artifactId>cmm</artifactId>
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { configProperties, env } from '@ustra/core'
|
import { configProperties, env } from '@ustra/core'
|
||||||
import NuxtConfigLoader from '@ustra/nuxt/src/config/nuxt-config-loader'
|
import NuxtConfigLoader from '@ustra/nuxt/src/config/nuxt-config-loader'
|
||||||
import NuxtAppProperties from '@ustra/nuxt/src/config/nuxt-app-properties'
|
import NuxtAppProperties from '@ustra/nuxt/src/config/nuxt-app-properties'
|
||||||
import { NuxtModuleType } from '@ustra/nuxt/src/config/modules/nuxt-modules'
|
|
||||||
|
|
||||||
export default async () => {
|
export default async () => {
|
||||||
const config: NuxtAppProperties = {
|
const config: NuxtAppProperties = {
|
||||||
@@ -47,21 +46,7 @@ export default async () => {
|
|||||||
importSystemPage: true,
|
importSystemPage: true,
|
||||||
useDefaultScreen: false,
|
useDefaultScreen: false,
|
||||||
},
|
},
|
||||||
extends: [
|
extends: [],
|
||||||
{
|
|
||||||
type: NuxtModuleType.BUILD_MODULE,
|
|
||||||
moduleName: 'nuxt-fontagon',
|
|
||||||
enabled: true,
|
|
||||||
option: {
|
|
||||||
fontName: 'fontagon-icons',
|
|
||||||
style: 'sass',
|
|
||||||
classOptions: {
|
|
||||||
baseClass: 'nf-icons',
|
|
||||||
classPrefix: 'nft',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
head: {
|
head: {
|
||||||
titleTemplate: 'U.STRA Node Framework Sample - BO',
|
titleTemplate: 'U.STRA Node Framework Sample - BO',
|
||||||
@@ -76,16 +61,6 @@ export default async () => {
|
|||||||
|
|
||||||
return await NuxtConfigLoader.nuxtConfig(config, (_prop, _config) => {
|
return await NuxtConfigLoader.nuxtConfig(config, (_prop, _config) => {
|
||||||
_config.env.SERVER_PROP_ENC_KEY = 'Z3NjLWNyeXB0by1rZXkxMQ=='
|
_config.env.SERVER_PROP_ENC_KEY = 'Z3NjLWNyeXB0by1rZXkxMQ=='
|
||||||
|
|
||||||
_config.iconFont = {
|
|
||||||
fontName: 'fontagon-icons',
|
|
||||||
style: 'sass',
|
|
||||||
classOptions: {
|
|
||||||
baseClass: 'nf-icons',
|
|
||||||
classPrefix: 'nft',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
_config.build.transpile.push('@ustra-sample/cmm')
|
_config.build.transpile.push('@ustra-sample/cmm')
|
||||||
_config.build.extractCSS = false
|
_config.build.extractCSS = false
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -17,9 +17,6 @@
|
|||||||
"test": "jest --detectOpenHandles --forceExit"
|
"test": "jest --detectOpenHandles --forceExit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ustra/nuxt": "^2.0.34-stable",
|
|
||||||
"@ustra/nuxt-dx-mng-bo": "^2.0.34-stable",
|
|
||||||
"@ustra/nuxt-mng-bo": "^2.0.34-stable",
|
|
||||||
"@ustra-sample/cmm": "1.0.0"
|
"@ustra-sample/cmm": "1.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -15,6 +15,5 @@
|
|||||||
"test": "jest --detectOpenHandles --forceExit"
|
"test": "jest --detectOpenHandles --forceExit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ustra/nuxt": "^2.0.34-stable"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -20,8 +20,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ustra-sample/cmm": "1.0.0",
|
"@ustra-sample/cmm": "1.0.0",
|
||||||
"@ustra/nuxt": "^2.0.23-stable",
|
|
||||||
"@ustra/nuxt-buefy": "^2.0.23-stable",
|
|
||||||
"animejs": "^3.2.1"
|
"animejs": "^3.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,15 +29,25 @@
|
|||||||
"generate:bo": "cd ./bo && yarn run generate",
|
"generate:bo": "cd ./bo && yarn run generate",
|
||||||
"create-off-pack": "rm -rf node_modules && rm yarn.lock && rm -rf npm_packages/* && yarn cache clean && yarn install"
|
"create-off-pack": "rm -rf node_modules && rm yarn.lock && rm -rf npm_packages/* && yarn cache clean && yarn install"
|
||||||
},
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@ustra/core": "2.0.43-snapshot.10",
|
||||||
|
"@ustra/data": "2.0.43-snapshot.10",
|
||||||
|
"@ustra/nuxt": "2.0.43-snapshot.10",
|
||||||
|
"@ustra/nuxt-dx": "2.0.43-snapshot.10",
|
||||||
|
"@ustra/nuxt-mng": "2.0.43-snapshot.10",
|
||||||
|
"@ustra/nuxt-mng-bo": "2.0.43-snapshot.10",
|
||||||
|
"@ustra/nuxt-dx-mng-bo": "2.0.43-snapshot.10",
|
||||||
|
"@ustra/nuxt-buefy": "2.0.43-snapshot.10"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/node": "7.13.13",
|
"@babel/node": "7.13.13",
|
||||||
"@babel/preset-env": "7.13.12",
|
"@babel/preset-env": "7.13.12",
|
||||||
"@babel/runtime-corejs3": "7.13.10",
|
"@babel/runtime-corejs3": "7.13.10",
|
||||||
"@nuxt/types": "2.15.7",
|
"@nuxt/types": "2.15.7",
|
||||||
"@nuxt/typescript-build": "2.1.0",
|
"@nuxt/typescript-build": "2.1.0",
|
||||||
|
"@nuxtjs/eslint-config": "3.1.0",
|
||||||
"@nuxtjs/eslint-config-typescript": "6.0.1",
|
"@nuxtjs/eslint-config-typescript": "6.0.1",
|
||||||
"@nuxtjs/eslint-module": "3.0.2",
|
"@nuxtjs/eslint-module": "3.0.2",
|
||||||
"@nuxtjs/eslint-config": "3.1.0",
|
|
||||||
"@types/cli-progress": "3.9.1",
|
"@types/cli-progress": "3.9.1",
|
||||||
"@types/crypto-js": "4.0.1",
|
"@types/crypto-js": "4.0.1",
|
||||||
"@types/jest": "26.0.22",
|
"@types/jest": "26.0.22",
|
||||||
@@ -61,8 +71,6 @@
|
|||||||
"eslint-plugin-prettier": "3.4.0",
|
"eslint-plugin-prettier": "3.4.0",
|
||||||
"jest": "26.6.3",
|
"jest": "26.6.3",
|
||||||
"markdown-loader": "6.0.0",
|
"markdown-loader": "6.0.0",
|
||||||
"node-sass": "6.0.0",
|
|
||||||
"nuxt-fontagon": "^1.0.4",
|
|
||||||
"prettier": "2.2.1",
|
"prettier": "2.2.1",
|
||||||
"sass": "1.32.12",
|
"sass": "1.32.12",
|
||||||
"sass-loader": "10.1.1",
|
"sass-loader": "10.1.1",
|
||||||
@@ -70,6 +78,8 @@
|
|||||||
"ts-jest": "26.2.0",
|
"ts-jest": "26.2.0",
|
||||||
"ts-loader": "6.2.2",
|
"ts-loader": "6.2.2",
|
||||||
"ts-node": "8.10.2",
|
"ts-node": "8.10.2",
|
||||||
"vue-jest": "3.0.7"
|
"vue-jest": "3.0.7",
|
||||||
|
"vue-loader": "15.9.7",
|
||||||
|
"webpack": "4.42.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1046
front/yarn.lock
1046
front/yarn.lock
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user