Skip to content

Commit e9f2960

Browse files
committed
commenting out swagger config
1 parent 69da5c0 commit e9f2960

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

demos/basic.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ gateway({
99

1010
routes: [{
1111
prefix: '/public',
12-
target: 'http://localhost:3000',
12+
target: 'http://localhost:3000'
13+
/*
14+
// applicable in case Swagger Definitions would be supported on downstream service
1315
docs: {
1416
name: 'Public Service',
1517
endpoint: 'swagger.json',
1618
type: 'swagger'
1719
}
20+
*/
1821
}, {
1922
prefix: '/admin',
2023
target: 'http://localhost:3001',

0 commit comments

Comments
 (0)