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 think this package could support both an array of strings (like now) or an array of TagObject (from the openapi-types package).
Or, if we want to introduce a "breaking change", just support the array of objects.
Tell me if my suggestion makes sense to you, I can open a PR to fix that if it's ok.
The text was updated successfully, but these errors were encountered:
OpenAPI has an interface for the tags key, but I saw there is this not-needed mapping in the generator file:
trpc-openapi/src/generator/index.ts
Line 48 in d1eab87
I think this package could support both an array of strings (like now) or an array of TagObject (from the
openapi-types
package).Or, if we want to introduce a "breaking change", just support the array of objects.
Tell me if my suggestion makes sense to you, I can open a PR to fix that if it's ok.
The text was updated successfully, but these errors were encountered: