In that case "type" is ignored and it generates a warning.
3.) The definiton "Content" has no properties defined.
That causes the generated Swagger API client (Swagger Code Generator, Python language) to return an empty dict for cases' content as the generated model class has no properties.
I suggest to simply use
if the content should be a flexible object.
Please correct the Swagger definition in a later release.
I attached the original file (docs.json) and the one modified by me (docs_fixed.json). (I had to suffix the files with ".txt" so that I can upload them.)
Share this page
Moderation Team has archived post,
This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.
Posted: 4 years ago
Posted: 27 Jan 2017 10:42 EST
Shanthini Charles (Shanthini_Charles)
Principal Technical Solutions Engineer