Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 717 Bytes

readme.az.common.md

File metadata and controls

30 lines (27 loc) · 717 Bytes

configuration for az common

directive:
  - from: swagger-document
    where: $..parameters[?(@.in=='body')]
    transform: >
      $['x-ms-client-flatten'] = true;
    reason: Flatten everything for Azure CLI
  - from: swagger-document
    where: $.definitions.*.[?(@.properties && !@.discriminator)].*
    transform: >
      $['x-ms-client-flatten'] = true;

clicommon:
    naming:
        default:
            singularize:
              - operationGroup
              - operation
    cli-directive:
        - where:
            operation: check_name_availability
          hidden: true
        - where:
            operationGroup: operations
            operation: list
          hidden: true