# Content Safety > see https://aka.ms/autorest This is the AutoRest configuration file for Content Safety. ## Getting Started To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: > `autorest readme.md` To see additional help and options, run: > `autorest --help` For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. --- ## Configuration ### Basic Information These are the global settings for the Content Safety. ```yaml openapi-type: data-plane tag: package-2026-09-01-preview ``` ### Tag: package-2023-04-30-preview These settings apply only when `--tag=package-2023-04-30-preview` is specified on the command line. ```yaml $(tag) == 'package-2023-04-30-preview' input-file: - preview/2023-04-30-preview/contentsafety.json ``` ### Tag: package-2023-10-01 These settings apply only when `--tag=package-2023-10-01` is specified on the command line. ```yaml $(tag) == 'package-2023-10-01' input-file: - stable/2023-10-01/contentsafety.json ``` ### Tag: package-2023-10-15-preview These settings apply only when `--tag=package-2023-10-15-preview` is specified on the command line. ```yaml $(tag) == 'package-2023-10-15-preview' input-file: - preview/2023-10-15-preview/contentsafety.json ``` ### Tag: package-2024-02-15-preview These settings apply only when `--tag=package-2024-02-15-preview` is specified on the command line. ```yaml $(tag) == 'package-2024-02-15-preview' input-file: - preview/2024-02-15-preview/contentsafety.json ``` ### Tag: package-2024-09-01 These settings apply only when `--tag=package-2024-09-01` is specified on the command line. ```yaml $(tag) == 'package-2024-09-01' input-file: - stable/2024-09-01/contentsafety.json ``` ### Tag: package-2026-07-01-preview These settings apply only when `--tag=package-2026-07-01-preview` is specified on the command line. ```yaml $(tag) == 'package-2026-07-01-preview' input-file: - preview/2026-07-01-preview/contentsafety.json ``` ### Tag: package-2026-09-01-preview These settings apply only when `--tag=package-2026-09-01-preview` is specified on the command line. ```yaml $(tag) == 'package-2026-09-01-preview' input-file: - preview/2026-09-01-preview/contentsafety.json ``` # Suppressions ```yaml suppressions: - code: AvoidAnonymousTypes from: contentsafety.json reason: TypeSpec creates anonymous operation status monitors inline ``` # Code Generation ## Swagger to SDK This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-net - repo: azure-sdk-for-java - repo: azure-sdk-for-js - repo: azure-resource-manager-schemas - repo: azure-cli-extensions - repo: azure-powershell ``` ## Az See configuration in [readme.az.md](./readme.az.md) ## Go See configuration in [readme.go.md](./readme.go.md) ## Python See configuration in [readme.python.md](./readme.python.md) ## TypeScript See configuration in [readme.typescript.md](./readme.typescript.md) ## CSharp See configuration in [readme.csharp.md](./readme.csharp.md)