Skip to content
Merged
Show file tree
Hide file tree
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
Next Next commit
Save work
  • Loading branch information
dargilco committed Apr 23, 2025
commit 46af3a3a5ecaba8e058746049ce306b5787f27ef
1 change: 1 addition & 0 deletions specification/ai/Azure.AI.Projects/connections/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ model ApiKeyCredentials extends BaseCredentials {

@doc("API Key")
@visibility(Lifecycle.Read)
@encodedName("application/json", "key")
apiKey?: string;
}

Expand Down
24 changes: 0 additions & 24 deletions specification/ai/Azure.AI.Projects/connections/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,4 @@ interface Connections {
...StandardListQueryParameters;
}>
>;

@doc("List all connections in the project, with their connection credentials")
@TypeSpec.Http.post
@Rest.actionSeparator("/")
@Rest.action("withCredentials")
listWithCredentials is ConnectionOperations.ResourceCollectionAction<
Connection,
{
@doc("List connections of this specific type")
@query("connectionType")
connectionType?: ConnectionType;

@doc("List connections that are default connections")
@query("defaultConnection")
defaultConnection?: boolean;

...StandardListQueryParameters;
},
Internal.ConnectionPaged
>;
}

namespace Internal {
model ConnectionPaged is Azure.Core.Page<Connection>;
}