Skip to content

Commit

Permalink
adding docs for the framework Required field (#13884)
Browse files Browse the repository at this point in the history
* adding docs for the framework Required field

* minor fix

* Update sdk/framework/backend.go

Co-authored-by: Jim Kalafut <[email protected]>

Co-authored-by: Jim Kalafut <[email protected]>
  • Loading branch information
hghaf099 and Jim Kalafut authored Feb 3, 2022
1 parent 2999fb8 commit c61d0d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sdk/framework/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
//
Expand Down

0 comments on commit c61d0d2

Please sign in to comment.