swagger-api/swagger-codegen

Model Mapping of 400/500 error code

Open

#2602 aperta il 14 apr 2016

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

Metriche repository

Star
 (12.701 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

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