Forum Discussion

flanagaj's avatar
flanagaj
New Member
3 years ago

Can you reference external pojo classes defined in dependent jar files in an open api schema?

I am using open api and the maven plugin to compile the open api spec for the project.  A team member has asked if they can create a new rest end point, but instead of defining the DTO as a schema in the open api file, just reference the object in the jar file.  This is to avoid having to reverse engineer a 600 + property pojo class that is used widely.

I cannot seem to find a mechanism for achieving this.

No RepliesBe the first to reply