Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ using Azure.Core;
title: "Contoso Widget Manager",
})
@versioned(Contoso.WidgetManager.Versions)

namespace Azure.Contoso.WidgetManager;

@doc("Versions info.")
Expand All @@ -28,8 +27,10 @@ enum Versions {
model ContosoAuthFlow {
@doc("The auth flow type.")
type: OAuth2FlowType.implicit;

@doc("The auth flow authorization URL.")
authorizationUrl: "https://login.microsoftonline.com/common/oauth2/authorize";

@doc("The auth flow token URL.")
scopes: ["https://security.microsoft.com/.default"];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ options:
name: "@azure-rest/contoso-widgetmanager-rest"
"@azure-tools/typespec-java":
package-dir: "azure-contoso-widgetmanager"
namespace: com.azure.contoso.widgetmanager
namespace: com.azure.contoso.widgetmanager