Skip to content
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

Look into using Rust Codebase to generate the DTOs #45

Open
MV-GH opened this issue Apr 29, 2024 · 0 comments
Open

Look into using Rust Codebase to generate the DTOs #45

MV-GH opened this issue Apr 29, 2024 · 0 comments

Comments

@MV-GH
Copy link
Owner

MV-GH commented Apr 29, 2024

Possible avenues:

  • Something crude that goes over the AST and generates KT DTOs
  • Find a tool to convert rust DTOs to OpenAPI, then another tool to convert OpenAPI to KT DTOs
  • Make ts_rs equivalent for KT

Find a tool to convert rust DTOs to OpenAPI is also needed for lemmy_openapi_spec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant