Nadezhda Makarkina

Results comments of Nadezhda Makarkina

I believe 'default' values should not be used in the client at all, since 'default' is more of a way to tell the client - "if you don't provide the...

I tried to reproduce this bug from both master and develop_2.0 branches with this json sample but it works fine. Could you please tell me where to reproduce this bug?

@wing328, @fehguy, For python dots in file name should be replaced by underscore. But now they are replaced by / (https://github.com/swagger-api/swagger-codegen/blob/develop_2.0/modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/DefaultCodegen.java#L1100) This method is static and it's impossible to override...

@wing328, I took this file for the testing https://github.com/GoogleCloudPlatform/kubernetes/blob/master/api/swagger-spec/v1beta3.json#L6361. Will take v1beta3.ResourceQuota as example. In the current state classname=V1beta3ResourceQuota and classVarName=v1beta3/resource_quota. classVarName then is used in __init__package.mustache template and generated...

@daivanov, perhaps your url is not correct, on develop_2.0 it should look like yourUrlPattern/swagger.json but not MWA/api-docs/ (e.g http://petstore.swagger.io/v2/swagger.json). Could you check this?

@webron, Accepted media types are set in swagger-parser https://github.com/swagger-api/swagger-parser/blob/develop/modules/swagger-parser/src/main/java/io/swagger/parser/util/RemoteUrl.java#L84. And I'm not sure what _._ means. If all media types is implied it should be _/_. And I'm not sure...

@webron, As you can see from https://github.com/swagger-api/swagger-parser/blob/develop/modules/swagger-parser/src/main/java/io/swagger/parser/util/RemoteUrl.java#L84 we append '_._' to the accept header according to tne RFC http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html '_._' is not valid, so the server may send a 406:...

I compared two jars and they are different in META-INF/services/*. And as I understand it what this configuration https://github.com/swagger-api/swagger-codegen/blob/develop_2.0/modules/swagger-codegen-cli/pom.xml#L65 should do. @fehguy can you clarify this issue?

I added exec-maven-plugin and swagger-codegen-cli dependency, but couldn't reproduce the issue. Could you please provide some small sample to reproduce it?

@dk-github, Yes, I used the same versions. Please post the sample pom, probably it'll help to reproduce the issue