# Generating REST API docs by Swagger

**URL:** <https://forum.elixirforum.com/t/generating-rest-api-docs-by-swagger/57862>\
**Category:** Questions\
**Tags:** phoenix, swagger, rest\_api\
**Created:** [August 25, 2023, 3:15pm UTC](https://forum.elixirforum.com/t/generating-rest-api-docs-by-swagger/57862 "2023-08-25T15:15:55Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![managua1902](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/m/e95f7d/32.png) [@managua1902](https://forum.elixirforum.com/u/managua1902)\
**Post date:** [August 27, 2023, 1:35pm UTC](https://forum.elixirforum.com/t/generating-rest-api-docs-by-swagger/57862/7 "2023-08-27T13:35:23Z")

</div>

But it uses the same approach: a lot of code-description next to each end point, right in the Elixir code.  
There’s no way to go around this, right? What I want is to keep the description of each REST API endpoint somewhere aside, in a separate file or files.

---

_[View the full topic](https://forum.elixirforum.com/t/generating-rest-api-docs-by-swagger/57862)._
