You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea here is implement a Cowboy swagger handler to retrieve the swagger.json. In this case (initial version) the JSON will be generated during each request (that could be improved later). So the handle function should be able to:
Call trails:all/0 to get defined trails
With these trails, call swagger_json:from_trails(Trails) to generate the JSON and then return it.
The text was updated successfully, but these errors were encountered:
The idea here is implement a Cowboy swagger handler to retrieve the swagger.json. In this case (initial version) the JSON will be generated during each request (that could be improved later). So the handle function should be able to:
trails:all/0
to get defined trailsswagger_json:from_trails(Trails)
to generate the JSON and then return it.The text was updated successfully, but these errors were encountered: