OpenApi Generator reference an external POJO in YAML file specification
问题 I'm using OpenApi v3.3.4 (formerly called Swagger CodeGen ) maven plugin to generate my rest controller via api.yml files where I describe all the operations I want to expose. In my use case, I want to expose a method POST: handleNotification(@RequestBody SignatureNotification notification) wich its request body's type is generated via another maven-plugin in /targer folder. Actually I'm defining SignatureNotification in Components part of my .yml file : ... requestBody: required: true