-1

Here is a tab on nswag:

enter image description here

So how it the schema should be looks like? Routes, definitions, etc?

Sergino
  • 10,128
  • 30
  • 98
  • 159

1 Answers1

1

If you provide a JSON Schema then NSwag generates a Swagger spec with only the DTO types of the schema - you cannot define routes, etc. For this you have to use a Swagger spec.

Rico Suter
  • 11,548
  • 6
  • 67
  • 93