Skip to content

Commit 3937bde

Browse files
committed
doc: fix some english mistakes
1 parent c8f38f4 commit 3937bde

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/source/nuget/packages.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,14 +266,14 @@ And like this for Http API::
266266

267267
Voxel.MiddyNet.HttpJsonBodyParser
268268
---------------------------------
269-
This package contains a middleware that parse JSON object mapping to a explicit type. There are two versions avalaible:
269+
This package contains a middleware that parses a JSON to an object of an explicit type. There are two versions avalaible:
270270

271-
* One for REST Api (APIGatewayProxyRequest and APIGatewayProxyResponse).
272-
* And another for Http Api (APIGatewayHttpApiV2ProxyRequest and APIGatewayHttpApiV2ProxyResponse).
271+
* One for REST APIs (APIGatewayProxyRequest and APIGatewayProxyResponse).
272+
* One for HTTP APIs (APIGatewayHttpApiV2ProxyRequest and APIGatewayHttpApiV2ProxyResponse).
273273

274274
Configuration
275275
^^^^^^^^^^^^^
276-
When you use the middleware, must put the specific type to convert JSON, then the middleware adds a object under context.AdditionalContext with the key "body". To access to the typed object you must do a casting of context["body"] with the custom type.
276+
When you use the middleware, You need to specify the type you want to convert the JSON object into. The middleware will put the object in the AdditionalContext["Body"] property. To access the object, you will need to perform an explicit cast of that property.
277277

278278
Sample code
279279
^^^^^^^^^^^

0 commit comments

Comments
 (0)