azure-rest-api-specs-1/specification/contosowidgetmanager/data-plane
Mike Harder e977b5333b
[TypeSpec] Upgrade to 0.45.0 (#24326)
2023-06-07 11:43:52 -07:00
..
Azure.Contoso.WidgetManager/preview/2022-11-01-preview [TypeSpec] Upgrade to 0.45.0 (#24326) 2023-06-07 11:43:52 -07:00
readme.md Convert sample project to TypeSpec (#23168) 2023-04-04 16:57:01 -07:00

readme.md

Contoso.WidgetManager

see https://aka.ms/autorest

This is the AutoRest configuration file for Contoso.WidgetManager.

Configuration

Basic Information

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

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

Suppress rules that might be fixed

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