tools/importer-rest-api-specs
: parsing the dfe
types into regular Object Definition Types
#4026
Labels
area/data-canonicalisation
Issues around Data Normalisation/Canonicalisation
enhancement
New feature or request
tool/importer-rest-api-specs
Swagger Data Importer issues
Rather than using the
type
field to define the type for a given field within the Swagger API Definition like other services, Data Factory uses a meaningless value for type (typicallyobject
) which gets overridden by anx-ms-format
value that references somedfe
specific types - which refer to these C# types hand-defined within the C# AutoRest generator (HT @ziyeqf)Since
importer-rest-api-specs
doesn't know to check for this field, this means that the following field within the API Definition:Gets parsed out as an
Object
rather than aDictionary[String]
. There's a bunch of these DFE types and these can be found within the DataFactory API definitions, but these will align with the list defined in the C# generator above.As such, we need to update
importer-rest-api-specs
to parse the Data Factory specific types into a regular Object Definition Types so thathashicorp/go-azure-sdk
can output the correct types.See also Azure/azure-rest-api-specs#28380
The text was updated successfully, but these errors were encountered: