This commit is contained in:
Sébastien Levert 2023-12-08 18:03:23 +00:00
Родитель f304b137c0
Коммит 8bd8d950b1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: DD021AE8162AFC54
4 изменённых файлов: 4 добавлений и 37 удалений

Просмотреть файл

@ -37,36 +37,6 @@ Once the `kiota-config.json` file and the API Manifest are updated, the code gen
kiota client edit --client-name "graphDelegated" --class-name "GraphServiceClient" --exclude-path "/users/$count"
```
```jsonc
{
"clients": {
"graphDelegated": {
"descriptionHash": "9EDF8506CB74FE44...",
"descriptionLocation": "https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/openapi/v1.0/openapi.yaml",
"includePatterns": ["**/users/**"],
"excludePatterns": ["/users/$count"],
"language": "csharp",
"outputPath": "./generated/graph/csharp",
"clientClassName": "GraphServiceClient",
"clientNamespaceName": "Contoso.GraphApp",
"features": {
"serializers": [
"Contoso.Json.CustomSerializer"
],
"deserializers": [
"Contoso.Json.CustomDeserializer"
],
"structuredMimeTypes": [
"application/json"
],
"usesBackingStore": true,
"includeAdditionalData": true
}
}
}
}
```
_The resulting `kiota-config.json` file will look like this:_
```jsonc
@ -77,7 +47,7 @@ _The resulting `kiota-config.json` file will look like this:_
"descriptionHash": "9EDF8506CB74FE44...",
"descriptionLocation": "https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/openapi/v1.0/openapi.yaml",
"includePatterns": ["**/users/**"],
"excludePatterns": [],
"excludePatterns": ["/users/$count"],
"language": "csharp",
"outputPath": "./generated/graph/csharp",
"clientClassName": "GraphServiceClient",

Просмотреть файл

@ -31,10 +31,6 @@ _The resulting `apimanifest.json` file will look like this:_
```jsonc
{
"publisher": {
"name": "Microsoft Graph",
"contactEmail": "graphsdkpub@microsoft.com"
},
"apiDependencies": { }
}
```

Просмотреть файл

@ -20,7 +20,9 @@ When `kiota config init` is executed, a `kiota-config.json` file would be create
```bash
kiota config init
```
_Results in the following `kiota-config.json` file:_
_The resulting `kiota-config.json` file will look like this:_
```jsonc
{
"version": "1.0.0",

Просмотреть файл

@ -160,7 +160,6 @@ _The resulting `apimanifest.json` file will look like this:_
}
```
_The resulting file structure will look like this:_
```bash