From 2b3f7d642ac8c61898bdc730a5346e2b930abff1 Mon Sep 17 00:00:00 2001 From: Yago Date: Fri, 25 Oct 2024 16:21:23 +0200 Subject: [PATCH] Update creating_rest_apis.md Changed aio rt:api:create --config-file pet-store-swagger.json to aio rt:api:create --config-file=pet-store-swagger.json As is what the documentation int he CLI is stating --- src/pages/guides/using/creating_rest_apis.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/guides/using/creating_rest_apis.md b/src/pages/guides/using/creating_rest_apis.md index d0a87ca..01effdb 100644 --- a/src/pages/guides/using/creating_rest_apis.md +++ b/src/pages/guides/using/creating_rest_apis.md @@ -68,7 +68,7 @@ aio rt:api:get /pet-store > pet-store-swagger.json Suppose that you want to restore or create the same API, maybe in some other namespace. All you have to is to run: ``` -aio rt:api:create --config-file pet-store-swagger.json +aio rt:api:create --config-file=pet-store-swagger.json ``` This will work as long as the actions are already created in that namespace. @@ -298,4 +298,4 @@ Requests that have the requests originating from the IP addresses in the disallo "message":"Access from your IP address is not authorized" } ``` -> Make sure that the `my-require-gw-validation-web-action` is configured to be a web action with `-a require-gw-validation true`, otherwise the action can be accessed publicly without any restrictions on the non api url. \ No newline at end of file +> Make sure that the `my-require-gw-validation-web-action` is configured to be a web action with `-a require-gw-validation true`, otherwise the action can be accessed publicly without any restrictions on the non api url.