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
Both of these two solutions have a problem: it needs to promote the url prefix to interface. If the swagger contains more than one prefixes, we have to generate multiple interfaces, which leads to multiple clients in the end.
The text was updated successfully, but these errors were encountered:
See this swagger as an example, currently the generated TypeSpec will throw error when compile:
Solution 1: we could see from it that
Project
might be the parent resource ofProjectDeployment
.Solution 2: but we actually don't know the parent information from swagger. So we add the
projectName
directly to Traits.Both of these two solutions have a problem: it needs to promote the url prefix to interface. If the swagger contains more than one prefixes, we have to generate multiple interfaces, which leads to multiple clients in the end.
The text was updated successfully, but these errors were encountered: