Skip to content

Conversation

@ravindrapalaskar17
Copy link
Contributor

What type of PR is this?

Add one of the following kinds:

  • bug
  • correction

What this PR does / why we need it:

This PR removes an unnecessary allOf wrapper from the device property in the SessionInfo schema.
The current use of allOf causes OpenAPI code generators to create an additional synthetic class (SessionInfoAllOfDevice), leading to compilation errors and inconsistent model mappings.

By defining the property directly using a $ref, the generated models remain clean,

Which issue(s) this PR fixes:

Fixes #505

@ravindrapalaskar17
Copy link
Contributor Author

We’ve identified an alternative solution to resolve the model generation issue, so this PR is no longer required.
Closing this PR along with the related issue (#505).

Thanks to everyone who reviewed and contributed to the discussion! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Quality-on-demand]: Remove unnecessary allOf from SessionInfo.device to fix model generation issue

1 participant