From 27c4408da008aceb03a7cd95f66918cadd5c3be9 Mon Sep 17 00:00:00 2001 From: Robert Wallach Date: Fri, 2 Feb 2018 12:14:12 -0600 Subject: [PATCH 1/2] Update shared-params-responses.md --- articles/modeling/shared-params-responses.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/articles/modeling/shared-params-responses.md b/articles/modeling/shared-params-responses.md index a749ed9..f12db7a 100644 --- a/articles/modeling/shared-params-responses.md +++ b/articles/modeling/shared-params-responses.md @@ -38,10 +38,9 @@ Shared parameters can be used as the following request properties: [`multipart/form-data`](https://developer.mozilla.org/en-US/docs/Web/API/FormData) format -In addition to being able to specify the format of the shared parameter, you can -also apply the same type and format validations available to typical request -objects, including: the type, the default value, the minimum/maximum length, or -applying a regular expression (regex). +Similar to generic request parameters, restrictions on the parameter values can +also be applied based on type, expected default value, minimum/maximum length, +and regular expression (regex). ![](../../assets/images/shared-params-responses.png) From e6053aba82c6683bbb136fd84a89bd5acddc6ba0 Mon Sep 17 00:00:00 2001 From: Robert Wallach Date: Tue, 6 Feb 2018 16:08:09 -0600 Subject: [PATCH 2/2] Update shared-params-responses.md --- articles/modeling/shared-params-responses.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/modeling/shared-params-responses.md b/articles/modeling/shared-params-responses.md index f12db7a..33f07f8 100644 --- a/articles/modeling/shared-params-responses.md +++ b/articles/modeling/shared-params-responses.md @@ -58,7 +58,7 @@ files, projects, and other external sources. ## Shared Responses Shared responses provide a way to re-use response objects across multiple API -endpoints without having to duplicate effort. Similar to shared properties +endpoints without having to duplicate effort. Similar to the shared properties discussed above, shared responses allow you to reference a single response multiple times without having to recreate each response manually. The added benefit of this approach is that updates to the shared response object are