-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Define Resource and Response #11
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@razor-x Do you want ResourceType to be dynamically inferred from openapi schema at build time? I guess we could use https://www.npmjs.com/package/openapi-typescript for that or did you have something else in mind? |
@kainpets what we need is a lot simpler than that. We already have typescript types for everything. I think all we need for now is just The resource type properties should come from the schemas |
I think we may need to introduce a generic
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions are optional and compatible with current types if we want to implement them later.
Co-authored-by: Evan Sosenko <[email protected]>
Closes #10
Part of #1