This commit is contained in:
Sébastien Levert 2024-03-04 16:35:17 +00:00
Родитель 664fcf777f
Коммит 4739d35982
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: DD021AE8162AFC54
4 изменённых файлов: 4 добавлений и 5 удалений

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

@ -18,11 +18,11 @@ Once the `kiota-config.json` file and the API Manifest are updated, the code gen
| `--exclude-path \| -e` | No | \*\*/users/\*\* | A glob pattern to exclude paths from generation. Accepts multiple values. Defaults to no value which excludes nothing. | Yes, without its value |
| `--language \| -l` | No | csharp | The target language for the generated code files or for the information. | Yes |
| `--namespace-name \| -n` | No | Contoso.GraphApp | The namespace of the client class. Defaults to `Microsoft.Graph`. | Yes, without its value |
| `--backing-store \| -b` | No | | Defaults to `false` | Yes, without its value |
| `--backing-store \| -b` | No | | Defaults to `false` | Yes |
| `--exclude-backward-compatible \| --ebc` | No | | Whether to exclude the code generated only for backward compatibility reasons or not. Defaults to `false`. | Yes |
| `--structured-media-types \| -m` | No | `application/json` |Any valid media type which will match a request body type or a response type in the OpenAPI description. Default are documented [here](https://learn.microsoft.com/en-us/openapi/kiota/using#--structured-mime-types--m). | Yes |
| `--skip-generation \| --sg` | No | true | When specified, the generation would be skipped. Defaults to false. | Yes |
| `--output \| -o` | No | ./generated/graph/csharp | The output directory or file path for the generated code files. Defaults to `./output`. | Yes |
| `--output \| -o` | No | ./generated/graph/csharp | The output directory or file path for the generated code files. Defaults to `./output`. | Yes, without its value |
> [!NOTE]
> It is not required to use the CLI to edit clients. It is possible to edit a client by modifying its entry in the `clients` section of the `kiota-config.json` file. See the [kiota-config.json schema](../schemas/kiota-config.json.md) for more information.

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

@ -8,7 +8,7 @@ Search for APIs and their description from various registries.
| Parameters | Required | Example | Description | Telemetry |
| -- | -- | -- | -- | -- |
| `search-term` | Yes | Graph | The term to search for. | Yes, without its value |
| `search-term` | Yes | github | The term to search for. | Yes, without its value |
| `--clear-cache \| --cc` | No | true | Clears any cached data for the current command. Defaults to `False`. | Yes |
| `--log-level \| --ll` | No | Critical | The log level to use when logging messages to the main output. Options available: Critical, Debug, Error, Information, None, Trace & Warning. Defaults to `Warning`. | Yes |
| `--version \| --v` | No | beta | The version of the OpenAPI document to use | Yes, without its value |

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

@ -21,7 +21,6 @@ Show the API paths tree for an API description.
```bash
kiota show -d https://aka.ms/graph/v1.0/openapi.yaml -i **/messages
```
```bash

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

@ -82,7 +82,7 @@ The list of commands and their parameters can be found in the [CLI Commands](../
We should offer a way to opt-out of the telemetry collection. This should be done in a very similar way that the `dotnet` CLI does (https://learn.microsoft.com/en-us/dotnet/core/tools/telemetry). To opt out of the telemetry feature, set the KIOTA_CLI_TELEMETRY_OPTOUT environment variable to 1 or true.
Every time the CLI is installed and updated, we should inform the user about the telemetry feature and how to opt-out of it.
Every time the CLI is installed and updated, we should inform the user about the telemetry feature and how to opt-out of it. If the users already opted-out, we should not inform the user and respect their choice.
```bash
Telemetry