swagger-api/swagger-codegen

Model Mapping of 400/500 error code

オープン

#2,602 opened on 2016/04/14

 (7 件のコメント) (10 件のリアクション) (0 人の担当者)HTML (5,474 件のフォーク)batch import
Client: JavaEnhancement: FeatureIssue: Workaround availablehelp wanted

Repository metrics

Stars
 (12,701 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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?

コントリビューターガイド