-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Labels
type: bugSomething isn't workingSomething isn't working
Description
Expected Behavior
when generating oneof interfaces they should be Serdeable just like all other models.
Actual Behaviour
when generating oneof interfaces the resulting interfaces looks like this:
@Generated("io.micronaut.openapi.generator.KotlinMicronautClientCodegen")
interface AccessLevel
which makes http calls using it error with:
Error decoding HTTP response body: No bean introspection available for type [interface <redacted>.model.AccessLevel]. Ensure the class is annotated with io.micronaut.core.annotation.Introspected
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
6.18.1
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working