parameters:
  "service-dir":
    default: "sdk/cognitivelanguage"
emit:
  - "@azure-tools/typespec-autorest"
linter:
  extends:
    - "@azure-tools/typespec-azure-rulesets/data-plane"
options:
  "@azure-tools/typespec-autorest":
    omit-unreachable-types: true
    azure-resource-provider-folder: "data-plane"
    emit-lro-options: "none"
    emitter-output-dir: "{project-root}/.."
    output-file: "{azure-resource-provider-folder}/Language/{version-status}/{version}/analyzetext.json"
  "@azure-tools/typespec-csharp":
    package-dir: "Azure.AI.Language.Text"
    clear-output-folder: true
    model-namespace: false
    namespace: "Azure.AI.Language.Text"
    flavor: azure
