Skip to content

Conversation

@anderssjoblom-vertex
Copy link
Contributor

@anderssjoblom-vertex anderssjoblom-vertex commented Nov 17, 2025

Summary

This PR adds the same changes we discovered with the teamcenter client using the OpenAPI generator and how it by default doesn't allow the server to update the schema. This also adds the usage of the discriminators and fixes the issues around matching the oneof using the shape.

See the PRs 89 and 90 for some more information about this issue.

Customized oneof_model.mustache is taken from here: oneof_model.mustache

Test Plan

Best to test using in a client like PlmIntegrationService

Release Notes

None

Possible Regressions

Could make the client match on multiple oneof objects if the descriminator isn't defined on the object.

@anderssjoblom-vertex anderssjoblom-vertex requested a review from a team as a code owner November 17, 2025 13:24
@sonarqubecloud
Copy link

Copy link
Contributor

@mikemccarty-vertex mikemccarty-vertex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anderssjoblom-vertex anderssjoblom-vertex merged commit 1936a62 into main Nov 17, 2025
4 checks passed
@anderssjoblom-vertex anderssjoblom-vertex deleted the PLAT-7622_fix_upgrade_issue branch November 17, 2025 17:49
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.

3 participants