This is the AutoRest configuration file for Contoso.WidgetManager.
This is a TypeSpec project so we only want to readme to default the default tag and point to the outputted swagger file. This is used for some tools such as doc generation and swagger apiview generation it isn't used for SDK code gen as we use the native TypeSpec code generation configured in the tspconfig.yaml file.
openapi-type: data-plane
tag: package-2022-11-01-preview
These settings apply only when --tag=package-2022-11-01-preview
is specified on the command line.
input-file:
- Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json
These set of linting rules aren't applicable to the new TypeSpec SDK code generators so suppressing them here. Eventually we will opt-out these rules from running in the linting tools for TypeSpec generated swagger files.
suppressions:
- code: AvoidAnonymousTypes
- code: PatchInOperationName
- code: OperationIdNounVerb
- code: RequiredReadOnlyProperties
- code: SchemaNamesConvention
- code: SchemaDescriptionOrTitle
These set of linting rules we expect to fixed in typespec-autorest emitter but for now suppressing. Github issue filed at https://github.com/Azure/typespec-azure/issues/2762
suppressions:
- code: LroExtension
- code: SchemaTypeAndFormat
- code: PathParameterSchema