You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Mickael Maison (Jira)" <ji...@apache.org> on 2026/10/19 15:25:00 UTC

[jira] [Resolved] (KAFKA-20391) Improve types returned by the Connect REST API

     [ https://issues.apache.org/jira/browse/KAFKA-20391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mickael Maison resolved KAFKA-20391.
------------------------------------
    Fix Version/s: 4.5.0
       Resolution: Fixed

> Improve types returned by the Connect REST API
> ----------------------------------------------
>
>                 Key: KAFKA-20391
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20391
>             Project: Kafka
>          Issue Type: Improvement
>          Components: connect
>            Reporter: Mickael Maison
>            Assignee: gomudayya
>            Priority: Major
>             Fix For: 4.5.0
>
>
> A bunch of our Connnect REST API endpoints defined in org.apache.kafka.connect.runtime.rest.resources use Response as the return type. This makes our OpenAPI spec not very useful as it does not describe the output types.
> ConnectorPluginsResource is a good example as it fully describes all return types. On the other hand, all endpoints in LoggingResource return the generic Response type so the generated OpenAPI spec is pretty much useless.
> We should be able to update most return types without causing any behavior/compatibility changes and greatly improving our OpenAPI spec.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)