Can I generate a server endpoint from refit definitions? #1449
Unanswered
jasonswearingen
asked this question in
Q&A
Replies: 3 comments
-
I found the following related:
seems the best route would be to create the server api + OpenApi Spec and then work on building the client from there, maybe using the above links as resources. |
Beta Was this translation helpful? Give feedback.
0 replies
-
one of these seems to be possible. Has anyone had luck with either? Maybe adding some docs around what works would be nice. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't know of anything like that but it's definitely a cool idea! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a new SaaS style app using Blazor Wasm for client, and Asp Core for server. Is it possible to use Refit to generate the server endpoints also? especially to do things like generate OpenApi docs.
If not, could you please give some advice on the best way to generate both client and server (+OpenApi docs) while still utilizing Refit, that would be great.
Sorry if my request is a bit hard to follow, I am pretty new to Blazor/Asp, but am a good C# dev so please don't hesitate to offer a suggestion :)
Beta Was this translation helpful? Give feedback.
All reactions