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
{{ message }}
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
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:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
OpenAPI has an interface for the tags key, but I saw there is this not-needed mapping in the generator file:
https://github.com/jlalmes/trpc-openapi/blob/d1eab87f14fc4bf20b000dfc3ecb5fc5b105006b/src/generator/index.ts#L48
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: