quarkiverse / quarkus-openapi-generator

OpenAPI Generator - REST Client Generator
Apache License 2.0
108 stars 66 forks source link

Support for customer Exception Mappers? #727

Open tmulle opened 3 weeks ago

tmulle commented 3 weeks ago

Hi, not sure if this is supported already, I didn't see any mention in the docs.

Is it possible to assign customer exception mappers to the generated clients like we can when writing the clients manually?

Thanks..

ricardozanini commented 3 weeks ago

@tmulle I don't recall having such a function. The source of truth is the OpenAPI file, I'd recommend avoiding adding custom exceptions to generated code.