Skip to content

Commit

Permalink
Adding TestJob suppression linting issues (#2749)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrdmr authored and jianghaolu committed Mar 26, 2018
1 parent c3d4bcb commit dafef18
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions specification/automation/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
This is the AutoRest configuration file for Automation.



---
## Getting Started
To build the SDK for Automation, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
Expand All @@ -19,8 +17,6 @@ To see additional help and options, run:

## Configuration



### Basic Information
These are the global settings for the Automation API.

Expand All @@ -31,7 +27,6 @@ openapi-type: arm
tag: package-2017-05-preview
```
### Tag: package-2015-10
These settings apply only when `--tag=package-2015-10` is specified on the command line.
Expand Down Expand Up @@ -93,8 +88,19 @@ input-file:
```

---
# Code Generation
## Suppression
``` yaml
directive:
- suppress: RequiredPropertiesMissingInResourceModel
from: definitions.json
where: $.definitions.TestJob
- suppress: BodyTopLevelProperties
from: definitions.json
where: $.definitions.TestJob.properties
```

---
# Code Generation

## Swagger to SDK

Expand Down Expand Up @@ -190,7 +196,6 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
output-folder: $(go-sdk-folder)/services/automation/mgmt/2017-05-15-preview/automation
```


## Java

These settings apply only when `--java` is specified on the command line.
Expand Down

0 comments on commit dafef18

Please sign in to comment.