This commit is contained in:
Kyle Shockey
2017-04-28 10:06:43 -07:00
parent a7c90e2d77
commit b6c3f91127
5 changed files with 63 additions and 49 deletions

View File

@@ -6,6 +6,10 @@ import * as AllPlugins from "core/plugins/all"
import { filterConfigs } from "plugins/configs"
import { parseSeach } from "core/utils"
const { GIT_DIRTY, GIT_COMMIT, PACKAGE_VERSION } = buildInfo
window.swaggerUiVersion = `${PACKAGE_VERSION}/${GIT_COMMIT || 'unknown'}${GIT_DIRTY ? '-dirty' : ''}`
module.exports = function SwaggerUI(opts) {
const defaults = {