Skip to content

Commit

Permalink
fix api gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienBtr committed Nov 14, 2020
1 parent 8d3c5c0 commit ea4eaa9
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions services/api-gateway/settings/article.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,35 @@
"endpoint": "/articles",
"method": "GET",
"url_pattern": "/articles",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/articles",
"method": "POST",
"url_pattern": "/articles",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/articles/{id}",
"method": "GET",
"url_pattern": "/articles/{id}",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/articles/{id}",
"method": "PUT",
"url_pattern": "/articles/{id}",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/articles/{id}",
"method": "DELETE",
"url_pattern": "/articles/{id}",
"encoding": "no-op",
"extra_config": {}
}
]
Expand Down
5 changes: 5 additions & 0 deletions services/api-gateway/settings/cart.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,35 @@
"endpoint": "/cart/items",
"method": "GET",
"url_pattern": "/cart/items",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/cart/items",
"method": "POST",
"url_pattern": "/cart/items",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/cart/items/checkout",
"method": "PUT",
"url_pattern": "/cart/items/checkout",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/cart/items/quantity/{id}",
"method": "PUT",
"url_pattern": "/cart/items/quantity/{id}",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/cart/items/{id}",
"method": "DELETE",
"url_pattern": "/cart/items/{id}",
"encoding": "no-op",
"extra_config": {}
}
]
Expand Down
23 changes: 23 additions & 0 deletions services/api-gateway/settings/documentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,54 +7,77 @@
"endpoint": "/documentation",
"method": "GET",
"url_pattern": "/documentation",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/article-swagger.json",
"method": "GET",
"url_pattern": "/article-swagger.json",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/cart-swagger.json",
"method": "GET",
"url_pattern": "/cart-swagger.json",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/user-swagger.json",
"method": "GET",
"url_pattern": "/user-swagger.json",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/auth-swagger.json",
"method": "GET",
"url_pattern": "/auth-swagger.json",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/swagger-ui.css",
"method": "GET",
"url_pattern": "/documentation/swagger-ui.css",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/swagger-ui-bundle.js",
"method": "GET",
"url_pattern": "/documentation/swagger-ui-bundle.js",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/swagger-ui-standalone-preset.js",
"method": "GET",
"url_pattern": "/documentation/swagger-ui-standalone-preset.js",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/swagger-ui-init.js",
"method": "GET",
"url_pattern": "/documentation/swagger-ui-init.js",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/favicon-32x32.png",
"method": "GET",
"url_pattern": "/documentation/favicon-32x32.png",
"encoding": "no-op",
"extra_config": {}
},
{
"endpoint": "/favicon-16x16.png",
"method": "GET",
"url_pattern": "/documentation/favicon-16x16.png",
"encoding": "no-op",
"extra_config": {}
}
]
Expand Down

0 comments on commit ea4eaa9

Please sign in to comment.