Description
Currently, response parsing only looks for application/json content type (SpecParser.kt:213). Responses with other content types like text/plain, application/octet-stream, application/xml, etc. are silently ignored — the response schema is set to null even if it's defined in the spec.
Acceptance criteria
Description
Currently, response parsing only looks for
application/jsoncontent type (SpecParser.kt:213). Responses with other content types liketext/plain,application/octet-stream,application/xml, etc. are silently ignored — the response schema is set tonulleven if it's defined in the spec.Acceptance criteria
SpecParserrecognizes at leasttext/plainandapplication/octet-streamresponse content typesStringfor text responses andByteArrayfor binary responsesResponsemodel carries content type information so the generator can emit correct deserialization