Skip to content

Avoid unnecessary changes to InlineResponse models #176

Description

@cjea

Describe your request

Copied from Jira: https://liveramp.atlassian.net/browse/OC-21931. Had to resolve that ticket as Won't Do (team bandwidth), but opening here for tracking --

Slack convo started in https://liveramp.slack.com/archives/C2R3TK43Z/p1608083439206000

When there's Reslang changes, the generated Spring models expect different InlineResponse models to be returned (I've seen InlineResponse201, InlineResponse2011, and InlineResponse2012) instead of staying consistent

Identified symptoms and impact
unrelated changes lead to InlineResponse model changes (which has IDs as either String or UUID)

How to reproduce
code gen https://github.com/LiveRamp/api-specs/pull/454 and notice how the DistributionRequestApi, IntegrationConnectionApi, and RealTimeDistributionConfigApi use different InlineModels in the ResponseEntity

Describe the value this feature would provide
Avoid unnecessary breaking changes to client and server stubs, which reference InlineResponse objects by an unstable number.

nliu132 Jacob Crofts (@JacobCrofts) FYI

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions