Quantcast
Channel: DreamFactory Forum - Latest topics
Viewing all articles
Browse latest Browse all 1524

BUG df-api-docs-ui (accept/content-type)

$
0
0

@cgeorges wrote:

Hi all,

In the api_doc web application, when I change the “Response content type” parameter (ex: application/xml), the “Example Model” of the body parameter also changes.
But the ‘Parameter content type’ didn’t changed.
Result: I send a body ‘application/xml’ with 'Content-Type: application/json’
It’s not really a bug, but it’s very unusefriendly.

I think that changing ‘Response content type’ should also change ‘Parameter content type’ or do not change ‘Example Model’. It would be better.

Would anyone have an idea on how to change this behavior?

Thk,

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1524

Trending Articles