You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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: