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 run "npx tsp compile" to create an OpenAPI file named "generated.json" from these TypeSpec files.
You can find "generated.json" in the mentioned PR.
I now run "oav generate-examples generated.json". I got a console spew that looks like one example is being generated, but at the end, I got the error below.
I had to delete the empty "paths" element and rename "x-ms-paths" to "paths" to make the error go away. So I just ended up with:
"paths": {...},
On IM Timothee G. wrote, "Sounds like a bug in oav those paths should be in x-ms-paths it is invalid to have query parameters in paths in swagger which is why x-ms-paths was created". He suggested I open a GitHub issue here on this.
I'm using the latest version of oav (version 3.2.13)
Thanks,
Darren
The text was updated successfully, but these errors were encountered:
I have a set of TypeSpec files (see this draft PR into azure-rest-api-specs): Azure/azure-rest-api-specs#26146
I run "npx tsp compile" to create an OpenAPI file named "generated.json" from these TypeSpec files.
You can find "generated.json" in the mentioned PR.
I now run "oav generate-examples generated.json". I got a console spew that looks like one example is being generated, but at the end, I got the error below.
Looking at generated.json, I see I have:
I had to delete the empty "paths" element and rename "x-ms-paths" to "paths" to make the error go away. So I just ended up with:
On IM Timothee G. wrote, "Sounds like a bug in oav those paths should be in x-ms-paths it is invalid to have query parameters in paths in swagger which is why x-ms-paths was created". He suggested I open a GitHub issue here on this.
I'm using the latest version of oav (version 3.2.13)
Thanks,
Darren
The text was updated successfully, but these errors were encountered: