The codegen generates a DefaultApi class and an ApiClient class.
Both classes have zero Javadoc.
Intuitively, I would assume that an API is a thread safe service API. That's not the case here.
DefaultApi looks fine, but it uses the ApiClient which a) is mutable and b) stores state in class fields, for example the responseHeaders.
Either document how it's supposed to be used, and that it's not thread safe, or refactor.