Remove unused imports of the removed OpenAI API classes
ProprietarySpring AI 2.0 removed OpenAiApi, OpenAiAudioApi and OpenAiImageApi. Once the types nested in them have moved, such as OpenAiAudioApi.SpeechRequest.Voice to OpenAiAudioSpeechOptions.Voice, this removes the imports of these classes that nothing uses anymore.
io. moderne. java. spring. ai2. RemoveOpenAiApiImportsmod run . --recipe= io. moderne. java. spring. ai2. RemoveOpenAiApiImportsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.