title: Swagger - required mark missing for string data type query parameter in .NET core API
body: <p>I m trying to make query parameter as required in API, but the swagger doesnt pick this as required. but the other data type has no issue.</p>
  <p><a href="https://i.stack.imgur.com/Cqjxz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cqjxz.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/DCOQ8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DCOQ8.png" alt="enter image description here" /></a></p>