Skip to content

Conversation

@Nicklee007
Copy link
Contributor

Motivation

modify the incorrect swagger response parameter type in ClustersBase.class

Modifications

modify the incorrect swagger response parameter type.

  • doc-not-needed

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jun 23, 2022
@ApiOperation(
value = "Get the configuration for the specified cluster.",
response = ClusterDataImpl.class,
response = ClusterData.class,
Copy link
Contributor

Choose a reason for hiding this comment

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

It does not seem a bug. Is there an error when calling the Api ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the function return POJO is ClusterData.class but set in swagger is ClusterDataImpl.class and also will show to user the incorrect return type. It will meet some error when we through restful api to invoke the method and want to transfer the result to ClusterData.class.

@Nicklee007
Copy link
Contributor Author

@merlimat In the PR #10818 you changed the API return type but ignore change the swagger response class type. This PR will fix it, please take a look, Thx.

@github-actions
Copy link

github-actions bot commented Sep 4, 2022

The pr had no activity for 30 days, mark with Stale label.

@github-actions github-actions bot added the Stale label Sep 4, 2022
@dave2wave dave2wave requested a review from merlimat January 30, 2023 15:41
@Technoboy- Technoboy- added this to the 3.2.0 milestone Jul 31, 2023
@Technoboy- Technoboy- modified the milestones: 3.2.0, 3.3.0 Dec 22, 2023
@coderzc coderzc modified the milestones: 3.3.0, 3.4.0 May 8, 2024
@Nicklee007 Nicklee007 closed this Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants