swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
As you can see this method throws two custom made exceptions UsernameAlreadyExistsCommtyException and RepositorySystemException.
I'm not able to figure out how codegen deals with that. I've tried to generate artifacts setting typescript-angular2 as language. Nevertheless, it doesn't generate any exception-like class or artifact.
I don't think the spec has a way to describe the exceptions (UsernameAlreadyExistsCommtyException, RepositorySystemException) that you put in the ocde (without using vendor extensions)
Description
I don't know whether it's been written down previously.
I've created this endpoint:
As you can see this method throws two custom made exceptions
UsernameAlreadyExistsCommtyException
andRepositorySystemException
.I'm not able to figure out how codegen deals with that. I've tried to generate artifacts setting
typescript-angular2
as language. Nevertheless, it doesn't generate anyexception-like
class or artifact.Please, is there some approach over there?
Swagger-codegen version
2.2.3
Swagger declaration file content or url