Skip to content

Conversation

@goekay
Copy link
Member

@goekay goekay commented Jan 26, 2025

1st commit adds a new functionality in terms of a new field to query by.

2nd commit addresses an annoyance and confusion when using swagger. apparently, another solution is setting the property springdoc.use-fqn=true. but then the class name uses the complete package name, which can be considered an unnecessary leak of impl detail.

reason: swagger UI cannot infer the proper schema, if there are overlapping inner classes
with the same name, such as:
- OcppTagQueryForm.ForApi
- TransactionQueryForm.ForApi
@goekay goekay merged commit 0290333 into master Jan 26, 2025
45 checks passed
@goekay goekay deleted the improve-query-functionality branch January 26, 2025 15:03
@juherr
Copy link
Contributor

juherr commented Jan 26, 2025

@goekay Fyi about the 2nd commit, using @Schema(name="MyDto") on the class should work too.

@goekay
Copy link
Member Author

goekay commented Jan 26, 2025

thanks, i stumbled upon that as well, but found it less robust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants