Open Defozo opened 6 years ago
@Defozo the auto-generated is copied from the Java (okhttp-gson) generator.
May I know if you've time to fix the auto-generated doc? If yes, I can show you some good starting points.
Well, even if I had a time, I think I wouldn't be the right person for repairing that. I'm a beginner user of Swagger & Retrofit2.
@Defozo that's ok. I would suggest you try the default (okhttp-gson
) Java API client instead, which comes with better documentation on how to use it.
I think it's actually supposed to extend IOException
Description
Swagger generates instructions how to use auto-generated client code: Eg. https://github.com/swagger-api/swagger-codegen/blob/master/samples/client/petstore/java/retrofit2/docs/PetApi.md However,
Configuration
andApiException
used in the example code don't exist in the generated sources. So, how to use it?Swagger-codegen version
2.3.0
Command line used for generation
I'm using gradle plugin.
Steps to reproduce
Generate java code using Retrofit2 library from PetStore API example.