| Post Reply | RetroFed Forum Forum Index » Elixir |
| Author | Message | ||
|---|---|---|---|
|
nothingness
lemmy.world
nothingness@lemmy.world Joined: 2023-09-05 |
at https://hexdocs.pm/open_api_spex/3.2.0/readme.html there's a definition of a module User
In order to avoid re-describing it like that for Open API Specs whilst having already done so for Ecto, is it possible to combine the two definitions in a single module somehow? That is, my Ecto schema User would serve its purpose for Open API Specs too. With some required tweaks. And if I do combine them, won't this mess up with the methods of the 2 modules and other things? |
||
| 1 Original | |||
| Post Reply |
Back to top |