swagger-api/swagger-codegen

Model Mapping of 400/500 error code

Open

#2.602 aberto em 14 de abr. de 2016

Ver no GitHub
 (7 comments) (10 reactions) (0 assignees)HTML (5.474 forks)batch import
Client: JavaEnhancement: FeatureIssue: Workaround availablehelp wanted

Métricas do repositório

Stars
 (12.701 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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?

Guia do colaborador