[Bug]: tsp-openapi3: common parameters not imported #4455
Labels
bug
Something isn't working
openapi3:converter
Issues for @typespec/openapi3 openapi to typespec converter
triaged:core
Milestone
Describe the bug
Operation parameters defined as "common parameters" for a given path, instead of being copied to each individual path, are not imported at all.
detected as part of the "TypeSpec for Sefaria" hack.
Reproduction
See this gist that describes the same API with and without using common parameters: https://gist.github.com/Arithmomaniac/150cf23eb89141c92d3663cd49d080b1
Import result without using common parameters: Playground
Import result when using common parameters: Playground (won't even compile)
Checklist
The text was updated successfully, but these errors were encountered: