swagger-api/swagger-codegen

Model Mapping of 400/500 error code

Ouverte

#2 602 ouverte le 14 avr. 2016

 (7 commentaires) (10 réactions) (0 personne assignée)HTML (5 474 forks)batch import
Client: JavaEnhancement: FeatureIssue: Workaround availablehelp wanted

Métriques du dépôt

Stars
 (12 701 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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?

Guide contributeur