I need to document all different request models for the endpoint:

public Task<SomeResponse> Post(JObject request) 

What options do I have besides just writing detailed comments about expected request models or creating endpoints per model?

1 Answers

Ricardo Peres On

I don't think you can. Since the payload is dynamic, how can NSwag know?