Skip to content

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

Open
@AnjaliSharma03

Description

@AnjaliSharma03

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 😊

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions