Skip to content

[fix][admin] Fix missing response type in swagger definitions - #16022

Merged
merlimat merged 1 commit into
apache:masterfrom
visortelle-tt-old:visortelle-patch-2
Jun 14, 2022
Merged

merlimat merged 1 commit into
apache:masterfrom
visortelle-tt-old:visortelle-patch-2

Conversation

@visortelle

Copy link
Copy Markdown
Member
  • doc-not-needed

I noticed the missing response type when using the auto-generated client from swagger definitions.

⚠️ I'm not familiar with Java, so probably there is a better fix.

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Jun 12, 2022
@visortelle

Copy link
Copy Markdown
Member Author

I noticed the same issue for autoTopicCreation endpoint. Its response type is void.

Probably there are more such endpoints.

@michaeljmarshall michaeljmarshall left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@visortelle - thanks for your contribution! I was just discussing some of these issues with @eolivelli and @zzzming yesterday.

My primary concern with this PR is how it will affect backwards compatibility. I think we should be good, since the current swagger definitions are wrong, and therefore cannot be used to generate a correct client.

LGTM.

@merlimat
merlimat merged commit a3c2741 into apache:master Jun 14, 2022
@merlimat merlimat added cherry-picked/branch-2.8 Archived: 2.8 is end of life cherry-picked/branch-2.9 Archived: 2.9 is end of life cherry-picked/branch-2.10 labels Jun 14, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jun 15, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/broker cherry-picked/branch-2.8 Archived: 2.8 is end of life cherry-picked/branch-2.9 Archived: 2.9 is end of life cherry-picked/branch-2.10 doc-not-needed Your PR changes do not impact docs release/2.8.4 release/2.9.4 release/2.10.2 type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants