Can you reference external pojo classes defined in dependent jar files in an open api schema?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022
12:49 PM
11-23-2022
12:49 PM
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.
Labels:
- Labels:
-
Swagger Codegen
0 REPLIES 0
