core-geonetwork
core-geonetwork copied to clipboard
Fix springdocs HashMap mapping in /db/translations
Fix springdocs HashMap mapping in /db/translations
If spring doc mapping was viewed in https://editor.swagger.io/. Then the following error existed.
This fix is to update the mapping so that it fixed this bug.
Checklist
- [x] I have read the contribution guidelines
- [x] Pull request provided for
main
branch, backports managed with label - [x] Good housekeeping of code, cleaning up comments, tests, and documentation
- [x] Clean commit history broken into understandable chucks, avoiding big commits with hundreds of files, cautious of reformatting and whitespace changes
- [x] Clean commit messages, longer verbose messages are encouraged
- [ ] API Changes are identified in commit messages
- [ ] Testing provided for features or enhancements using automatic tests)
- [ ] User documentation provided for new features or enhancements in mannual
- [ ] Build documentation provided for development instructions in
README.md
files - [ ] Library management using
pom.xml
dependency management. Update build documentation with intended library use and library tutorials or documentation
Related to #7205
@josegar74 I replaced this PR with PR #7905
The reason - The following Issues https://github.com/springdoc/springdoc-openapi/issues/2479 identified the correct way to fix this issue.
Also in order to apply the change it required an upgrade to springdoc 1.8 and jackson.
So I believe it is better that PR #7905 be merged instead and then we can remove this PR.
I would like to see what your input is on this before I remove this PR.
Closing as #7905 replaced this PR