forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[security RP] mgmt, fix for java with directive (Azure#15169)
* [security] mgmt, fix for java with directive * fix readme
- Loading branch information
1 parent
104a95d
commit acd615c
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## Java | ||
|
||
These settings apply only when `--java` is specified on the command line. | ||
|
||
|
||
``` yaml $(java) | ||
directive: | ||
- from: externalSecuritySolutions.json | ||
where: $.definitions.ExternalSecuritySolution.allOf[1] | ||
set: | ||
type: object | ||
description: 'Describes an Azure resource with location' | ||
reason: discriminator property is required to be defined in the model | ||
- from: externalSecuritySolutions.json | ||
where: $.definitions.ExternalSecuritySolution.properties | ||
set: | ||
kind: | ||
type: object | ||
description: 'Describes an Azure resource with kind' | ||
enum: | ||
- CEF | ||
- ATA | ||
- AAD | ||
x-ms-enum: | ||
name: ExternalSecuritySolutionKind | ||
modelAsString: true | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters