Swagger-codegen: CodegenResponse.java should contain `is<DataType>` boolean fields

Created on 7 Feb 2017  路  5Comments  路  Source: swagger-api/swagger-codegen

In order to more thoroughly support any type of response defined in an Open API spec, CodegenResponse.java should contain isString, isDouble, isInteger, etc, etc. This will allow handling responses from the server at a more granular level

Feature help wanted

All 5 comments

@abaruni yes, we want to do the same to CodegenParameter and CodegenProperty as well.

May I know if you've time to contribute the enhancements?

@abaruni yes, you're right. The funny thing is that I added those. I'm getting old...

created pull request for this issue https://github.com/swagger-api/swagger-codegen/pull/4763

Closed via #4763. Thanks @abaruni for the PR.

Was this page helpful?
0 / 5 - 0 ratings