Skip to content

Commit 1ed568b

Browse files
committed
Sync open source content 🐝 (from 085f2f75d1cc5a501c2aa5396a571e3a7ec81d81)
1 parent 3166f80 commit 1ed568b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/terraform/customize/entity-mapping.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ x-speakeasy-entity-operation:
240240

241241
One API operation for multiple resources can be combined with the entity operation ordering of [multiple API operations for one resource](#multiple-api-operations-for-one-resource) as necessary.
242242

243+
If the resource creation requires both a create and update operation where the create response includes an API assigned resource identifier, mark the update request resource identifier property as read only via `x-speakeasy-param-readonly: true` to ensure the property remains non-configurable in the schema.
244+
243245
### API Operation Polling
244246

245247
Define automatic API operation polling logic for APIs with asynchronous behaviors via the `x-speakeasy-polling` and `x-speakeasy-entity-operation` extensions in the OpenAPI Specification document. Refer to the [SDK Polling documentation](/docs/customize/runtime/polling) for additional information about configuring `x-speakeasy-polling`.

0 commit comments

Comments
 (0)