SimonTouchtech
SimonTouchtech
Well, you're using FromForm, which means the input is explicitly not JSON, so any JSON options you set will not (or at least should not) impact form input. I am...
Related to issue #160, which basically asks for the same thing (camelCase support), but for FromQuery.
What version of Swashbuckle are you using? This looks like the behavior that was fixed in beta902, or more specifically https://github.com/domaindrivendev/Ahoy/commit/0fddd538b793bfb39c0f155b2aeef69902f04cd4.
Not sure if this is what you're asking for, but the possible values for an enum can be seen in the generated JSON file available at /swagger/v1/swagger.json by default. It...
I do not have a complete answer, but perhaps some pointers that could be helpful. It is possible to add security definitions to the generated Swagger documentation using ``` services.AddSwaggerGen(options...
Swashbuckle explicitly sets shorts to int32, see https://github.com/domaindrivendev/Ahoy/blob/master/src/Swashbuckle.SwaggerGen/Generator/SchemaRegistry.cs#L230 My guess as to why this is done is that int16 is not a "known format" of Swagger but int32 is, see...
["in" is a property in the parameter object of Swagger JSON.](http://swagger.io/specification/#parameterObject) Values understood by Swagger UI are "query", "header", "path", "formData" and "body" (i.e. not "modelbinding"). The [default behavior of...
That looks like a Swashbuckle bug to me, Parameter type should be "formData" and not "form" if I'm not mistaken (i.e. you're not doing anything wrong and this issue is...
If I understand you correctly you want to create multiple swagger.json files depending on something in your code (namespace in this case). This can be done in 6.0.0-beta902 by using...
The [`Response` class](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/master/src/Swashbuckle.AspNetCore.Swagger/Model/SwaggerDocument.cs#L345) has a [`Headers` property](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/master/src/Swashbuckle.AspNetCore.Swagger/Model/SwaggerDocument.cs#L351) but as far as I can see it's never set anywhere in the Swashbuckle code. You can set it yourself though, probably using...