Browse Source

Add key, headers and timestamp type fields

Anton Petrov 5 years ago
parent
commit
c725927261
1 changed files with 12 additions and 0 deletions
  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: