swagger-api/swagger-codegen

Model Mapping of 400/500 error code

Aperta

#2602 aperta il 14 apr 2016

 (7 commenti) (10 reazioni) (0 assegnatari)HTML (5474 fork)batch import
Client: JavaEnhancement: FeatureIssue: Workaround availablehelp wanted

Metriche repository

Star
 (12.701 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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?

Guida contributor