emit:
  - "@azure-tools/typespec-autorest"
  - "@azure-tools/typespec-autorest-canonical"
options:
  "@azure-tools/typespec-autorest":
    use-read-only-status-schema: true
    emitter-output-dir: "{project-root}/.."
    azure-resource-provider-folder: "resource-manager"
    output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json"
  "@azure-tools/typespec-autorest-canonical":
    emitter-output-dir: "{project-root}/.."
    azure-resource-provider-folder: "resource-manager"
    output-file: "{azure-resource-provider-folder}/{service-name}/canonical/openapi.json"
linter:
  extends:
    - "@azure-tools/typespec-azure-rulesets/resource-manager"
