We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b747a5a commit 3137169Copy full SHA for 3137169
lib/units/api/index.js
@@ -127,6 +127,10 @@ export default (async function(options) {
127
, subdev: subdev
128
})
129
req.options = reqOptions
130
+ if (req.path === '/api/v1/scheme') {
131
+ next()
132
+ return
133
+ }
134
accessTokenAuth(req)
135
.then(() => {
136
next()
@@ -147,6 +151,7 @@ export default (async function(options) {
147
151
, exposeApiDocs: true
148
152
, apiDoc: path.resolve(import.meta.dirname, 'swagger', 'api_v1.yaml')
149
153
, paths: path.resolve(import.meta.dirname, 'paths')
154
+ , docsPath: '/scheme'
150
155
}
156
expressInitialize(config)
157
0 commit comments