Skip to content

Commit b13fffc

Browse files
authored
Initial OAS default property support (#39)
Reference: #31 Implements support on boolean, integer, number, and string types.
1 parent f89067e commit b13fffc

11 files changed

Lines changed: 379 additions & 4 deletions

File tree

DESIGN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ If not required, or if the field is in a different schema than the `Read` operat
163163

164164
| Field (OAS) | Field (Plugin Framework Schema) |
165165
|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
166+
| [default](https://json-schema.org/draft/2020-12/json-schema-validation.html#name-default) | [(Attribute).Default](https://developer.hashicorp.com/terraform/plugin/framework/resources/default) (resources only) |
166167
| [description](https://spec.openapis.org/oas/latest.html#rich-text-formatting) | [(Attribute).MarkdownDescription](https://developer.hashicorp.com/terraform/plugin/framework/handling-data/schemas#markdowndescription-1) |
167168
| [enum](https://json-schema.org/draft/2020-12/json-schema-validation.html#name-enum) | [(Attribute).Validators](https://developer.hashicorp.com/terraform/plugin/framework/validation) |
168169
| [format (password)](https://spec.openapis.org/oas/latest.html#data-types) | [(StringAttribute).Sensitive](https://developer.hashicorp.com/terraform/plugin/framework/handling-data/schemas#sensitive) |

0 commit comments

Comments
 (0)