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 94e3ef6 commit 6ec101fCopy full SHA for 6ec101f
fittings/swagger_cors.js
@@ -0,0 +1 @@
1
+module.exports = require('./cors');
test/assets/project/config_pipe/default.yaml
@@ -1,7 +1,7 @@
# values in the swagger hash are system configuration for swagger-node
2
swagger:
3
4
- fittingsDirs: [ api/fittings ]
+ fittingsDirs: [ node_modules, api/fittings ]
5
defaultPipe: null
6
swaggerControllerPipe: swagger_controllers # defines the standard processing pipe for controllers
7
@@ -27,7 +27,7 @@ swagger:
27
# pipe for all swagger-node controllers
28
swagger_controllers:
29
- onError: json_error_handler
30
- - cors
+ - swagger_cors
31
- swagger_params_parser
32
- _swagger_security
33
- _swagger_validate
0 commit comments