Minimal API and Controllers support #167
lucafabbri
started this conversation in
Ideas
Replies: 1 comment
-
Hi @lucafabbri thanks for the kind words and the feedback. I've started a similar project with a stated goal of getting an experience similar to FastAPI in Python. Feel free to check it out! https://github.com/jchristn/swiftstack And if it isn't a good fit, I'd always love PRs that help make this library better in generalized/horizontal ways. Cheers |
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
-
Hi Joel,
I'm moving some local network rest api service to Watson WebServer (really great project, thanks for this).
In order to use a similar approach to the one we use for asp.net I decided to develop some features on top of Watson. Let's say "a minimal api like" declaration of endpoints as well as controllers with actions.
I'm just curious to understand if those feature might be of any interest for Watson. If yes I'll be happy to send you a PR to evaluate the idea and defining the boundaries (e.g. parameters binding can be extended with some common conventions and edge cases)
Here after an example on how it should look:
Kindly
Beta Was this translation helpful? Give feedback.
All reactions