swagger-api/swagger-codegen

Model Mapping of 400/500 error code

Open

#2.602 geöffnet am 14. Apr. 2016

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

Repository-Metriken

Stars
 (12.701 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

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