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 2999fb8865
commit c61d0d204c

View File

@@ -625,6 +625,9 @@ type FieldSchema struct {
Type FieldType Type FieldType
Default interface{} Default interface{}
Description string Description string
// The Required and Deprecated members are only used by openapi, and are not actually
// used by the framework.
Required bool Required bool
Deprecated bool Deprecated bool