Commit cd6bf61
committed
Exclude
`draft` is a creation-time property and is not alterable on an existing
agent version. `UpdateAgentRequest` therefore should not expose it.
Switched the spread to `OmitProperties<CreateAgentVersionRequest, ""draft"">`
so PATCH /agents/{name} no longer accepts `draft`. Callers wanting a
draft version must use the explicit POST /agents/{name}/versions endpoint.
CreateAgentRequest and AgentVersionObject continue to carry `draft`.
Regenerated swaggers for v1 and virtual-public-preview - pure removals
of the `draft` property from UpdateAgentRequest only.draft from UpdateAgentRequest (immutable post-create)1 parent e82ac1c commit cd6bf61
3 files changed
Lines changed: 1 addition & 11 deletions
File tree
- specification/ai-foundry/data-plane/Foundry
- openapi3
- v1
- virtual-public-preview
- src/agents
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38396 | 38396 | | |
38397 | 38397 | | |
38398 | 38398 | | |
38399 | | - | |
38400 | | - | |
38401 | | - | |
38402 | | - | |
38403 | | - | |
38404 | 38399 | | |
38405 | 38400 | | |
38406 | 38401 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41052 | 41052 | | |
41053 | 41053 | | |
41054 | 41054 | | |
41055 | | - | |
41056 | | - | |
41057 | | - | |
41058 | | - | |
41059 | | - | |
41060 | 41055 | | |
41061 | 41056 | | |
41062 | 41057 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments