Skip to content

Commit

Permalink
Attestation trenton configuration and remove required field in respon…
Browse files Browse the repository at this point in the history
…se (Azure#10147)

* config

* config
  • Loading branch information
dw511214992 authored and 00Kai0 committed Oct 12, 2020
1 parent dd46357 commit 00ba8f9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,6 @@
"StatusResult": {
"type": "object",
"description": "Status of attestation service.",
"required": [
"status"
],
"properties": {
"trustModel": {
"type": "string",
Expand Down
3 changes: 3 additions & 0 deletions specification/attestation/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ csharp:

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

## Trenton

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

## Multi-API/Profile support for AutoRest v3 generators

Expand Down
21 changes: 21 additions & 0 deletions specification/attestation/resource-manager/readme.trenton.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

## trenton

These settings apply only when `--trenton` is specified on the command line.

``` yaml $(trenton)
trenton:
cli-name: attestation
package-name: attestation
clear-output-folder: true
output-folder: $(trenton-output-folder)/attestation
overrides:
- where:
property: "x5C"
set:
- GoFieldName: X5c
- where:
property: "/creationParams/properties"
set:
- GoFieldName: Properties
```

0 comments on commit 00ba8f9

Please sign in to comment.