View Source Swagdox.PathBuilder (swagdox v0.1.1)
Builds paths from a router by calling the routes function.
We can then use the Endpoint.extract_all/1 function to extract the API specification from the controller modules.
Summary
Functions
@spec build_paths(module()) :: [Swagdox.Path.t()]
@spec build_router_paths([Swagdox.Path.route()]) :: [Swagdox.Path.t()]