Open ArcturusZhang opened 1 month ago
https://github.com/Azure/azure-rest-api-specs/blob/1c7df99f6a84335cfd7bf5be8c800d72c1dddbc2/specification/purview/data-plane/Azure.Analytics.Purview.Scanning/preview/2018-12-01-preview/scanningService.json
2018-12-01-preview
https://github.com/Azure/azure-rest-api-specs/blob/1c7df99f6a84335cfd7bf5be8c800d72c1dddbc2/specification/purview/data-plane/Azure.Analytics.Purview.Scanning/preview/2018-12-01-preview/scanningService.json#L6368-L6386 Here we have two models in the same discriminated set but they have the same discriminator value: None This is incorrect.
Every variant in a discriminated set should have unique discriminator values
2 of them have the same value.
Just check the swagger.
Irrelevant
@parvsaxena Please help have a look, thank you.
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/1c7df99f6a84335cfd7bf5be8c800d72c1dddbc2/specification/purview/data-plane/Azure.Analytics.Purview.Scanning/preview/2018-12-01-preview/scanningService.json
API Spec version
2018-12-01-preview
Describe the bug
https://github.com/Azure/azure-rest-api-specs/blob/1c7df99f6a84335cfd7bf5be8c800d72c1dddbc2/specification/purview/data-plane/Azure.Analytics.Purview.Scanning/preview/2018-12-01-preview/scanningService.json#L6368-L6386 Here we have two models in the same discriminated set but they have the same discriminator value: None This is incorrect.
Expected behavior
Every variant in a discriminated set should have unique discriminator values
Actual behavior
2 of them have the same value.
Reproduction Steps
Just check the swagger.
Environment
Irrelevant