Skip to content

Commit

Permalink
Added suppression RESPONSE_SCHEMA_NOT_IN_SPEC. reason: false positive…
Browse files Browse the repository at this point in the history
… from oav is breaking our example validation. See Azure/oav#1021.
  • Loading branch information
stevemunk committed Jan 16, 2024
1 parent ca75f7c commit 725af32
Showing 1 changed file with 38 additions and 39 deletions.
77 changes: 38 additions & 39 deletions specification/maps/data-plane/Creator/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ These are the global settings for Creator Client.
``` yaml
title: CreatorClient
openapi-type: data-plane
tag: package-2023-07
tag: package-stable-V2
add-credentials: true
credential-default-policy-type: BearerTokenCredentialPolicy
credential-scopes: 'https://atlas.microsoft.com/.default'
Expand All @@ -37,32 +37,33 @@ credential-scopes: 'https://atlas.microsoft.com/.default'
``` yaml
directive:
- suppress: NOT_LATEST_API_VERSION_IN_DEFAULT_TAG
from: /specification/maps/data-plane/Creator/preview/2023-07-01-preview
reason: The files in '/specification/maps/data-plane/Creator/stable/2023-07-01-preview' were never released. Please ignore them, they should not appear in the TOC. '/specification/maps/data-plane/Creator/preview/2023-03-01-preview/' contains the latest preview.
- suppress: RESPONSE_SCHEMA_NOT_IN_SPEC
reason: false positive from oav is breaking our example validation. See azure/oav#1021.
- suppress: INVALID_TYPE
reason: false positive from oav is breaking our example validation. See azure/oav#1020.
```
### Tag: package-2023-07
### Tag: package-stable-V2
These settings apply only when `--tag=package-2023-07` is specified on the command line.
These settings apply only when `--tag=package-stable-V2` is specified on the command line.

```yaml $(tag) == 'package-2023-07'
```yaml $(tag) == 'package-stable-V2'
input-file:
- stable/2023-07-01/alias.json
- stable/2023-07-01/dataset.json
- stable/2023-07-01/dwgconversion.json
- stable/2023-07-01/features.json
- stable/2023-07-01/featurestate.json
- stable/2023-07-01/mapconfiguration.json
- stable/2023-07-01/style.json
- stable/2023-07-01/tileset.json
- preview/2.0/alias.json
- preview/2.0/dataset.json
- preview/2.0/dwgconversion.json
- preview/2.0/featurestate.json
- preview/2.0/tileset.json
- preview/2.0/wfs.json
```
### Tag: package-preview-2023-03

These settings apply only when `--tag=package-preview-2023-03` is specified on the command line.
### Tag: package-2023-03-preview

These settings apply only when `--tag=package-2023-03-preview` is specified on the command line.

``` yaml $(tag) == 'package-preview-2023-03'
``` yaml $(tag) == 'package-2023-03-preview'
input-file:
- preview/2023-03-01-preview/alias.json
- preview/2023-03-01-preview/dataset.json
Expand All @@ -76,11 +77,11 @@ input-file:
- preview/2023-03-01-preview/wayfind.json
```

### Tag: package-preview-2022-09
### Tag: package-2022-09-preview

These settings apply only when `--tag=package-preview-2022-09` is specified on the command line.
These settings apply only when `--tag=package-2022-09-preview` is specified on the command line.

``` yaml $(tag) == 'package-preview-2022-09'
``` yaml $(tag) == 'package-2022-09-preview'
input-file:
- preview/2022-09-01-preview/tileset.json
- preview/2022-09-01-preview/style.json
Expand All @@ -95,42 +96,40 @@ input-file:
- preview/2.0/wfs.json
```

### Tag: 2.0-preview

# at some point those credentials will move away to Swagger according to [this](https://github.com/Azure/autorest/issues/3718)
### Tag: package-2023-07

These settings apply only when `--tag=2.0-preview` is specified on the command line.
These settings apply only when `--tag=package-2023-07` is specified on the command line.

``` yaml $(tag) == '2.0-preview'
``` yaml $(tag) == 'package-2023-07'
input-file:
- preview/2.0/alias.json
- preview/2.0/data.json
- preview/2.0/dataset.json
- preview/2.0/dwgconversion.json
- preview/2.0/featurestate.json
- preview/1.0/spatial.json
- preview/2.0/tileset.json
- preview/2.0/wfs.json
- stable/2023-07-01/alias.json
- stable/2023-07-01/dataset.json
- stable/2023-07-01/dwgconversion.json
- stable/2023-07-01/features.json
- stable/2023-07-01/featurestate.json
- stable/2023-07-01/mapconfiguration.json
- stable/2023-07-01/style.json
- stable/2023-07-01/tileset.json
```

# Code Generation
## Code Generation

## Python
### Python

See configuration in [readme.python.md](./readme.python.md)

## Java
### Java

See configuration in [readme.java.md](./readme.java.md)

## TypeScript
### TypeScript

See configuration in [readme.typescript.md](./readme.typescript.md)

## CSharp
### CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)

## Go
### Go

See configuration in [readme.go.md](./readme.go.md)

0 comments on commit 725af32

Please sign in to comment.