donghyun
How can I show all OpenAPI specs while I keep a single swaggerui page?
Hi, I’m a ash-newbie trying to get my head around the whole framework.
Right now I’m experimenting with AshJsonApi, and my understanding is that you can create a router for each API or connect multiple APIs on one router.
However, I want to keep only one SwaggerUI document even if I create multiple routers. Currently, it seems to expose a separate /open_api path for each router. Should I not create multiple routers in this case, or is there a way to combine them?
Marked As Solved
zachdaniel
Yes I can see how that would be confusing!
Also Liked
donghyun
Thanks for clarifying. I know that already reading documents, but didn’t sure about that’s best solution because the naming in documents seems like it matches Api modules and if I integrate several Api modules in one router, I have to come up with proper naming for the router. But now I get it and I keep only one router for my app.
Thanks again and hope you well ![]()
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









