Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • To add controller or method specific query parameter, use [QueryParameter] attribute (see example below). Parameter type and description should be entered directly when adding the attribute.

... and this is how it looks like in Swagger UI

Image Added


... and this is how it looks like in Swagger UI

Image Added

Adding optional request body

...

  • To add optional request body, use the attribute with the appropriate Dto (see the example below)

... and this is how it looks like in Swagger UI

Image Added

Adding conditional headers

...