Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help for adding multiple examples in a route. #1054

Open
AnjaliSharma03 opened this issue Jun 6, 2024 · 0 comments
Open

Need help for adding multiple examples in a route. #1054

AnjaliSharma03 opened this issue Jun 6, 2024 · 0 comments

Comments

@AnjaliSharma03
Copy link

Hi, I have several routes for which I’m using http4s rho routes. I have two questions for the swagger page:

  1. I want to add multiple examples for each route. Is there anything I can use??? Currently I’m using org.http4s.rho.swagger.models: ModelImpl case class for defining the input example. But with that only one example can be added, how to add multiple examples?
  2. I also want to add description for each api in the swagger page such that when we click on the drill down button of a route the description occurs just below the api defined. Can you guide me how to do that as well ?

Thanks in advance 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant