vitalybibikov/AzureExtensions.Swashbuckle

Is there a way to specify default values in example models?

dpetrishin opened this issue · 1 comments

Hey, I'd like to know is there a way to specify default swagger ui values in example models?

For example:

image

instead of

{
  "status": "string",
  "statusDetails": "string",
  "exception": "string",
  "id": "string"
}

I want to have

{
  "status": "in progress",
  "statusDetails": "",
  "exception": "",
  "id": "12324"
}

Thank you!

Hi, @hydrocortisone
I guess, this is a good enhancement, I will add it in the next version.