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
@@ -1,4 +1,4 @@
./[
[
{
"$type": "StringType"
},
Expand Down Expand Up @@ -653,7 +653,7 @@
"$ref": "#/40"
},
"flags": 0,
"description": "Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api:/<appId>, or specify a more readable URI like https:/contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable."
"description": "Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://<appId>, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable."
},
"info": {
"type": {
Expand Down Expand Up @@ -1166,28 +1166,28 @@
"$ref": "#/0"
},
"flags": 0,
"description": "Link to the application's marketing page. For example, https:/www.contoso.com/app/marketing."
"description": "Link to the application's marketing page. For example, https://www.contoso.com/app/marketing."
},
"privacyStatementUrl": {
"type": {
"$ref": "#/0"
},
"flags": 0,
"description": "Link to the application's privacy statement. For example, https:/www.contoso.com/app/privacy."
"description": "Link to the application's privacy statement. For example, https://www.contoso.com/app/privacy."
},
"supportUrl": {
"type": {
"$ref": "#/0"
},
"flags": 0,
"description": "Link to the application's support page. For example, https:/www.contoso.com/app/support."
"description": "Link to the application's support page. For example, https://www.contoso.com/app/support."
},
"termsOfServiceUrl": {
"type": {
"$ref": "#/0"
},
"flags": 0,
"description": "Link to the application's terms of service statement. For example, https:/www.contoso.com/app/termsofservice."
"description": "Link to the application's terms of service statement. For example, https://www.contoso.com/app/termsofservice."
}
}
},
Expand Down Expand Up @@ -1455,7 +1455,7 @@
"$ref": "#/58"
},
"flags": 0,
"description": "Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. For iOS and macOS apps, specify the value following the syntax msauth.{BUNDLEID}:/auth, replacing '{BUNDLEID}'. For example, if the bundle ID is com.microsoft.identitysample.MSALiOS, the URI is msauth.com.microsoft.identitysample.MSALiOS:/auth."
"description": "Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. For iOS and macOS apps, specify the value following the syntax msauth.{BUNDLEID}://auth, replacing '{BUNDLEID}'. For example, if the bundle ID is com.microsoft.identitysample.MSALiOS, the URI is msauth.com.microsoft.identitysample.MSALiOS://auth."
}
}
},
Expand Down Expand Up @@ -2239,7 +2239,7 @@
"$ref": "#/100"
},
"flags": 1,
"description": "The audience that can appear in the external token. This field is mandatory and should be set to api:/AzureADTokenExchange for Microsoft Entra ID. It says what Microsoft identity platform should accept in the aud claim in the incoming token. This value represents Microsoft Entra ID in your external identity provider and has no fixed value across identity providers - you may need to create a new application registration in your identity provider to serve as the audience of this token. This field can only accept a single value and has a limit of 600 characters. Required."
"description": "The audience that can appear in the external token. This field is mandatory and should be set to api://AzureADTokenExchange for Microsoft Entra ID. It says what Microsoft identity platform should accept in the aud claim in the incoming token. This value represents Microsoft Entra ID in your external identity provider and has no fixed value across identity providers - you may need to create a new application registration in your identity provider to serve as the audience of this token. This field can only accept a single value and has a limit of 600 characters. Required."
},
"claimsMatchingExpression": {
"type": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
./[
[
{
"$type": "StringType"
},
Expand Down Expand Up @@ -1166,28 +1166,28 @@
"$ref": "#/0"
},
"flags": 0,
"description": "Link to the application's marketing page. For example, https:/www.contoso.com/app/marketing."
"description": "Link to the application's marketing page. For example, https://www.contoso.com/app/marketing."
},
"privacyStatementUrl": {
"type": {
"$ref": "#/0"
},
"flags": 0,
"description": "Link to the application's privacy statement. For example, https:/www.contoso.com/app/privacy."
"description": "Link to the application's privacy statement. For example, https://www.contoso.com/app/privacy."
},
"supportUrl": {
"type": {
"$ref": "#/0"
},
"flags": 0,
"description": "Link to the application's support page. For example, https:/www.contoso.com/app/support."
"description": "Link to the application's support page. For example, https://www.contoso.com/app/support."
},
"termsOfServiceUrl": {
"type": {
"$ref": "#/0"
},
"flags": 0,
"description": "Link to the application's terms of service statement. For example, https:/www.contoso.com/app/termsofservice."
"description": "Link to the application's terms of service statement. For example, https://www.contoso.com/app/termsofservice."
}
}
},
Expand Down Expand Up @@ -1455,7 +1455,7 @@
"$ref": "#/57"
},
"flags": 0,
"description": "Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. For iOS and macOS apps, specify the value following the syntax msauth.{BUNDLEID}:/auth, replacing '{BUNDLEID}'. For example, if the bundle ID is com.microsoft.identitysample.MSALiOS, the URI is msauth.com.microsoft.identitysample.MSALiOS:/auth."
"description": "Specifies the URLs where user tokens are sent for sign-in, or the redirect URIs where OAuth 2.0 authorization codes and access tokens are sent. For iOS and macOS apps, specify the value following the syntax msauth.{BUNDLEID}://auth, replacing '{BUNDLEID}'. For example, if the bundle ID is com.microsoft.identitysample.MSALiOS, the URI is msauth.com.microsoft.identitysample.MSALiOS://auth."
}
}
},
Expand Down Expand Up @@ -2194,7 +2194,7 @@
"$ref": "#/97"
},
"flags": 1,
"description": "The audience that can appear in the external token. This field is mandatory and should be set to api:/AzureADTokenExchange for Microsoft Entra ID. It says what Microsoft identity platform should accept in the aud claim in the incoming token. This value represents Microsoft Entra ID in your external identity provider and has no fixed value across identity providers - you might need to create a new application registration in your identity provider to serve as the audience of this token. This field can only accept a single value and has a limit of 600 characters. Required."
"description": "The audience that can appear in the external token. This field is mandatory and should be set to api://AzureADTokenExchange for Microsoft Entra ID. It says what Microsoft identity platform should accept in the aud claim in the incoming token. This value represents Microsoft Entra ID in your external identity provider and has no fixed value across identity providers - you might need to create a new application registration in your identity provider to serve as the audience of this token. This field can only accept a single value and has a limit of 600 characters. Required."
},
"description": {
"type": {
Expand Down
2 changes: 1 addition & 1 deletion msgraph-metadata
Submodule msgraph-metadata updated 40 files
+190 −0 .azure-pipelines/msgraph-reference-generation.yml
+201 −0 .azure-pipelines/scripts/Generate-Github-Token.ps1
+24 −0 .azure-pipelines/scripts/create-pull-request.ps1
+58 −0 .azure-pipelines/scripts/git-push-reference-files.ps1
+73 −0 .azure-pipelines/scripts/process-all-schemas.ps1
+2 −2 .github/workflows/metadata-parser-validation.yml
+1 −1 .github/workflows/openapi-parser-validation.yml
+1 −1 .github/workflows/validate-typespec-changes.yml
+102 −122 additions/package-lock.json
+1 −1 additions/package.json
+433 −67 clean_beta_metadata/cleanMetadata.xml
+1,896 −207 clean_beta_metadata/cleanMetadataWithDescriptionsAndAnnotationsAndErrorsbeta.xml
+1,896 −207 clean_beta_metadata/cleanMetadataWithDescriptionsAndAnnotationsbeta.xml
+1,831 −207 clean_beta_metadata/cleanMetadataWithDescriptionsbeta.xml
+186 −17 clean_v10_metadata/cleanMetadata.xml
+641 −48 clean_v10_metadata/cleanMetadataWithDescriptionsAndAnnotationsAndErrorsv1.0.xml
+641 −48 clean_v10_metadata/cleanMetadataWithDescriptionsAndAnnotationsv1.0.xml
+641 −48 clean_v10_metadata/cleanMetadataWithDescriptionsv1.0.xml
+6,936 −2,178 openapi/beta/default.yaml
+5,903 −602 openapi/beta/graphexplorer.yaml
+6,795 −1,886 openapi/beta/openapi.yaml
+6,999 −2,197 openapi/beta/powershell_v2.yaml
+1,283 −75 openapi/v1.0/default.yaml
+1,599 −265 openapi/v1.0/graphexplorer.yaml
+1,515 −221 openapi/v1.0/openapi.yaml
+1,469 −245 openapi/v1.0/powershell_v2.yaml
+933 −1 schemas/beta-Bleu.csdl
+299 −5 schemas/beta-Fairfax.csdl
+76 −2 schemas/beta-Mooncake.csdl
+433 −67 schemas/beta-Prod.csdl
+5 −2 schemas/beta-USNat.csdl
+3,124 −3 schemas/beta-USSec.csdl
+162 −0 schemas/v1.0-Bleu.csdl
+2 −0 schemas/v1.0-Delos.csdl
+286 −11 schemas/v1.0-Fairfax.csdl
+2 −0 schemas/v1.0-GovSG.csdl
+96 −4 schemas/v1.0-Mooncake.csdl
+186 −17 schemas/v1.0-Prod.csdl
+26 −9 schemas/v1.0-USNat.csdl
+3,133 −13 schemas/v1.0-USSec.csdl
6 changes: 3 additions & 3 deletions src/generator/src/cmd/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ async function buildTypeIndex(logger: ILogger, baseDir: string, apiVersion: ApiV
};
const indexContent = await buildIndex(typeFiles, (log) => logOut(logger, log), typeSettings);

await writeFile(`${extensionBaseDir}/types.json`, normalizeJsonPath(writeTypesJson(contentJson)));
await writeFile(`${extensionBaseDir}/index.json`, normalizeJsonPath(writeIndexJson(indexContent)));
await writeFile(`${extensionBaseDir}/index.md`, normalizeJsonPath(writeIndexMarkdown(indexContent)));
await writeFile(`${extensionBaseDir}/types.json`, writeTypesJson(contentJson));
await writeFile(`${extensionBaseDir}/index.json`, writeIndexJson(indexContent));
await writeFile(`${extensionBaseDir}/index.md`, writeIndexMarkdown(indexContent));
}

function shouldIncludeFilePath(filePath: string) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
},
"welcomeMessageEnabled": {
"type": "boolean",
"description": "",
"description": "Indicates whether a welcome message is sent to new members when they are added to the group. The default value is true. Supported only on the Get group API (GET /groups/{ID}).",
"readOnly": false
},
"writebackConfiguration": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,22 @@
"description": "Timestamp of when the group was last renewed. This value can't be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Read-only.",
"readOnly": true
},
"resourceBehaviorOptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specifies the group behaviors that can be set for a Microsoft 365 group during creation. This property can be set only as part of creation (POST). For the list of possible values, see Microsoft 365 group behaviors and provisioning options.",
"readOnly": false
},
"resourceProvisioningOptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specifies the group resources that are associated with the Microsoft 365 group. The possible value is Team. For more information, see Microsoft 365 group behaviors and provisioning options.",
"readOnly": false
},
"securityEnabled": {
"type": "boolean",
"description": "Specifies whether the group is a security group. Required.",
Expand Down
Loading