swagger-api/swagger-codegen

Model Mapping of 400/500 error code

Offen

#2.602 geöffnet am 14.04.2016

 (7 Kommentare) (10 Reaktionen) (0 zugewiesene Personen)HTML (5.474 Forks)batch import
Client: JavaEnhancement: FeatureIssue: Workaround availablehelp wanted

Repository-Metriken

Stars
 (12.701 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

I have generated java client for my rest api. I have specified models for error responses 400 and 500 also but always i get error back as APIException and whole json is copied as string in ApiException.

Has anybody faces this issue and happen to resolve it?

Contributor Guide