Ask a Question

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

flanagaj
New Member

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.

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: