From ee74e76c20f328115ee7dbe0dc06815418ca6e3e Mon Sep 17 00:00:00 2001 From: Vincenzo Chianese Date: Sat, 3 Mar 2018 16:48:03 +0100 Subject: [PATCH] Fix category name --- _posts/2017-09-19-plugin-part-1-anatomy-of-a-plugin.md | 8 ++++---- ...02-amazon-api-gateway-compare-express-gateway.markdown | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_posts/2017-09-19-plugin-part-1-anatomy-of-a-plugin.md b/_posts/2017-09-19-plugin-part-1-anatomy-of-a-plugin.md index b30d597..7b6b0d7 100644 --- a/_posts/2017-09-19-plugin-part-1-anatomy-of-a-plugin.md +++ b/_posts/2017-09-19-plugin-part-1-anatomy-of-a-plugin.md @@ -59,7 +59,7 @@ It’s primary tasks are: ### PluginContext Example -``` +```javascript module.exports = { version: '1.2.0', init: function (pluginContext) { @@ -119,7 +119,7 @@ If the plugin contains a policy, the policy is also declared within the `policie #### Plugin Installation Example -``` +```bash ➜ eg plugin install express-gateway-plugin-example ? Set value for baseUrl: http://example.com ? Set value for maxRequestsPerSecond: 100 @@ -129,7 +129,7 @@ Plugin installed! ``` inside the [system.config.yml][system-config-yml], a plugin entry with parameters will be written -``` +```yaml plugins: example: package: express-gateway-plugin-example @@ -139,7 +139,7 @@ plugins: the Express Gateway plugin example comes with an example policy that is also entered within the [gateway.config.yml][gateway-config-yml] -``` +```yaml policies: - cors - log diff --git a/_posts/2018-02-02-amazon-api-gateway-compare-express-gateway.markdown b/_posts/2018-02-02-amazon-api-gateway-compare-express-gateway.markdown index 6f82729..b7a619e 100644 --- a/_posts/2018-02-02-amazon-api-gateway-compare-express-gateway.markdown +++ b/_posts/2018-02-02-amazon-api-gateway-compare-express-gateway.markdown @@ -2,7 +2,7 @@ title: 'Developer Spotlight: Compare Amazon API Gateway vs Express Gateway' date: 2018-02-02 00:00:00 Z categories: -- comparision +- comparison layout: post author: Valeri Karpov ---