[tsp-client convert] x-ms-identifiers
dropped in some cases
#4999
Labels
openapi-to-tsp
Tracks OpenAPI to Cadl converter issues
x-ms-identifiers
dropped in some cases
#4999
I am converting an existing OpenAPI swagger to TypeSpec.
In some cases, arrays are not annotated with
x-ms-identifiers
although they exist in the swagger.Expected behavior
All instances of
x-ms-identifiers
from the swagger should appear as@OpenAPI.extension("x-ms-identifiers", [])
in tsp.Additional context
Here is the model from the swagger. Note that this model is used as a payload to an ARM action. One of the arrays (files) gets properly annotated, the other (ImportUpdateInput) does not. The one that does not is being inlined by the converter.
And here is the result in tsp
The text was updated successfully, but these errors were encountered: