Skip to content

Commit

Permalink
Datafactory duplicate schema issue (#16585)
Browse files Browse the repository at this point in the history
* require DataFlow

* ManagedPrivateEndpoint,ManagedVirtualNetwork

* fix

* xx

* ManagedPrivateEndpoint delete discriminator

* Duplicate Schema named 'BlobEventTypes'

* prettier

* keep the enum type unchanged

Co-authored-by: ArcturusZhang <dapzhang@microsoft.com>
  • Loading branch information
Alancere and ArcturusZhang authored Dec 8, 2021
1 parent 5a1b726 commit e260efc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"description": "Azure Data Factory nested object which contains a flow with data movements and transformations.",
"type": "object",
"discriminator": "type",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"ManagedPrivateEndpoint": {
"description": "Properties of a managed private endpoint",
"type": "object",
"discriminator": "type",
"properties": {
"connectionState": {
"description": "The managed private endpoint connection state",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"ManagedVirtualNetwork": {
"description": "A managed Virtual Network associated with the Azure Data Factory",
"type": "object",
"discriminator": "type",
"properties": {
"vNetId": {
"description": "Managed Virtual Network ID.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
},
"events": {
"description": "The type of events that cause this trigger to fire.",
"$ref": "#/definitions/BlobEventTypes"
"$ref": "#/definitions/BlobEventTypeArray"
},
"scope": {
"description": "The ARM resource ID of the Storage Account.",
Expand All @@ -337,7 +337,7 @@
"typeProperties"
]
},
"BlobEventTypes": {
"BlobEventTypeArray": {
"type": "array",
"items": {
"type": "string",
Expand Down

0 comments on commit e260efc

Please sign in to comment.