When an OpenAPI specification defines a enum schema with type: string and this schema is used in a requestBody, the Java generator produces an API interface method where the parameter is typed as java ...
Please do a quick search on GitHub issues first, there might be already a duplicate issue for the one you are about to create. If the bug is trivial, just go ahead ...