瀏覽代碼

Add key, headers and timestamp type fields

Anton Petrov 5 年之前
父節點
當前提交
c725927261
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      kafka-ui-contract/src/main/resources/swagger/kafka-ui-api.yaml

+ 12 - 0
kafka-ui-contract/src/main/resources/swagger/kafka-ui-api.yaml

@@ -389,6 +389,18 @@ components:
         timestamp:
           type: string
           format: date-time
+        timestampType:
+          type: string
+          enum:
+            - NO_TIMESTAMP_TYPE
+            - CREATE_TIME
+            - LOG_APPEND_TIME
+        key:
+          type: string
+        headers:
+          type: object
+          additionalProperties:
+            type: string
         content:
           type: string
       required: