From f541cf196b379b69c2179969cb54bcc2a532d0be Mon Sep 17 00:00:00 2001 From: hghaf099 <83242695+hghaf099@users.noreply.github.com> Date: Thu, 3 Feb 2022 11:44:01 -0500 Subject: [PATCH] adding docs for the framework Required field (#13884) * adding docs for the framework Required field * minor fix * Update sdk/framework/backend.go Co-authored-by: Jim Kalafut Co-authored-by: Jim Kalafut --- sdk/framework/backend.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sdk/framework/backend.go b/sdk/framework/backend.go index 8c69d9f88..cdee46f48 100644 --- a/sdk/framework/backend.go +++ b/sdk/framework/backend.go @@ -625,8 +625,11 @@ type FieldSchema struct { Type FieldType Default interface{} Description string - Required bool - Deprecated bool + + // The Required and Deprecated members are only used by openapi, and are not actually + // used by the framework. + Required bool + Deprecated bool // Query indicates this field will be sent as a query parameter: //