Skip to content

SchemaMappingInspector should look in controller package if return type for a union is Object #960

Closed
@rstoyanchev

Description

@rstoyanchev

To resolve union types, the inspector tries to find matching Java classes in the same package as the return type of the controller method for the union. However, if there is no sealed type or marker interface to return, the return type is likely Object. As a fallback, we can also try in the package of the controller.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions