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 <jkalafut@hashicorp.com>

Co-authored-by: Jim Kalafut <jkalafut@hashicorp.com>
This commit is contained in:
hghaf099 2022-02-03 11:44:01 -05:00 committed by GitHub
parent c80d5805dc
commit f541cf196b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -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:
//