Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address review feedback/azure ai projects 1dp service patterns
  • Loading branch information
johanste committed Mar 17, 2025
commit 4e8e1dd85688ca5657226b23af5030849c47f81e
11 changes: 9 additions & 2 deletions specification/ai/Azure.AI.Projects/servicepatterns.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ namespace Azure.AI.Projects.ServicePatterns {
Http.NoContentResponse
>;

create is BuildingBlocks.RepeatableCoreOps.ResourceCreateWithServiceProvidedName<TEntityType>;
@Rest.actionSeparator("/")
versions is BuildingBlocks.RepeatableCoreOps.ResourceAction<
TEntityType,
{
@Http.bodyRoot body: TEntityType;
},
TEntityType
>;

@Http.put
createVersion is Azure.Core.Foundations.ResourceOperation<
Expand Down Expand Up @@ -74,7 +81,7 @@ namespace Azure.AI.Projects.ServicePatterns {
@Http.path
version: string;

@Http.bodyRoot body: TEntityType;
@Http.bodyRoot body: TParams;
},
TResponse
>;
Expand Down
Loading