rick22sun
rick22sun
This is the result of swagger forum discussion "Is there a way to specify query parameter without value?". In summary, what needed is a method to specify whether to include...
This is the result of swagger forum discussion "How to show Response Content Type?". In summary, with any non-empty schema in a ‘successful’ (2XX) response, e.g, ``` json {"tags": ["mytag"],...
Consider GET method with at least one query. Actual response type (XML or JSON) can't be controlled by "Response Content Type" setting, but can be always toggled between XML and...
When JSON body schema turns into XML, swagger-ui uses tag like "inline_model_0" as in this example: ` ` ... ` ` This happens when definition has nested objects like: ```...
In swagger-ui.js, function ``` var getNamespace = function (xml) { ... var name = 'xlmns'; ``` here `'xlmns'` should be `'xmlns'`.
Looks like allowEmptyValue not implemented. The goal is to produce a query parameter `?param1` without any value and the '=' sign. Tried the following ``` { in: "query", name: "param1",...