-
Notifications
You must be signed in to change notification settings - Fork 23
feat: [OpenAPI] Improved OneOf Support #657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| public interface OneOfWithDiscriminator | ||
| { | ||
| public String getSodaType(); | ||
| String getSodaType(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public is redundant for interfaces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you create a PR in the AI SDK to see the removed mixIn
...openapi-api-sample/src/main/java/com/sap/cloud/sdk/datamodel/openapi/sample/model/OneOf.java
Show resolved
Hide resolved
.../java/com/sap/cloud/sdk/datamodel/openapi/sample/model/OneOfWithDiscriminatorAndMapping.java
Show resolved
Hide resolved
...ain/java/com/sap/cloud/sdk/datamodel/openapi/generator/GenerationConfigurationConverter.java
Show resolved
Hide resolved
will do once #652 is merged to not have too many different generator changes applied in parallel |
Done, let me know when the AI SDK PR is created |
Context
Follow up to #647, see this comment
Feature scope:
oneOfdeserialization support without discriminators@Typeproperty from serializationDefinition of Done
Error handling created / updated & covered by the tests aboveDocumentation updatedRelease notes updated