This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extend from koa-router; plugin system; swagger-ui
- Loading branch information
1 parent
7b8bf03
commit 65a11f3
Showing
78 changed files
with
2,706 additions
and
1,929 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
.nyc_output | ||
lib | ||
coverage | ||
dist | ||
node_modules | ||
lib/swagger-ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.idea | ||
test | ||
dist-test | ||
|
||
example | ||
src | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = { | ||
bail: false, | ||
verbose: true, | ||
collectCoverage: true, | ||
testEnvironment: 'node', | ||
collectCoverageFrom: [ | ||
'src/**/*.js', | ||
'!**/node_modules/**', | ||
'!**/vendor/**', | ||
'!**/test/**', | ||
], | ||
coverageThreshold: { | ||
global: { | ||
branches: 90, | ||
functions: 90, | ||
lines: 90, | ||
statements: 90, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
'use strict'; | ||
|
||
var _router = require('./router'); | ||
|
||
var _router2 = _interopRequireDefault(_router); | ||
|
||
var _plugin = require('./plugin'); | ||
|
||
var _plugin2 = _interopRequireDefault(_plugin); | ||
|
||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
|
||
module.exports = _router2.default; | ||
|
||
_router2.default.Plugin = _plugin2.default; | ||
|
||
// Plugin.correction = require('koa-oai-router-correction'); | ||
// Plugin.responses = require('koa-oai-router-responses'); | ||
// Plugin.parameters = require('koa-oai-router-parameters'); | ||
// Plugin.middleware = require('koa-oai-router-middleware'); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.