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:
parent
c80d5805dc
commit
f541cf196b
|
@ -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:
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue