Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
ARUHA-838: Added min length for consumer_group. Fixed errors in swagg…
Browse files Browse the repository at this point in the history
…er file.
  • Loading branch information
Vyacheslav Stepanov committed Jun 14, 2017
1 parent cf534b6 commit 6941085
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions api/nakadi-event-bus-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,7 @@ paths:
description: |
Offset to query for unconsumed events. Depends on `partition` parameter. When present adds the property
`unconsumed_events` to the response partition object.
type: string
responses:
'200':
description: OK
Expand Down Expand Up @@ -817,7 +818,7 @@ paths:
- if the `shift` provided leads to a cursor that is not yet existent, i.e. it's pointing to
some cursor yet to be generated in the future.
schema:
- $ref: '#/definitions/Problem'
$ref: '#/definitions/Problem'

/subscriptions:
post:
Expand Down Expand Up @@ -1889,13 +1890,13 @@ definitions:
- final_cursor
properties:
initial_cursor:
- $ref: "/definitions/Cursor"
$ref: "#/definitions/Cursor"
final_cursor:
- $ref: "/definitions/Cursor"
$ref: "#/definitions/Cursor"

CursorDistanceResult:
allOf:
- $ref: '/definitions/CursorDistanceQuery'
- $ref: '#/definitions/CursorDistanceQuery'
required:
- distance
properties:
Expand Down Expand Up @@ -2059,6 +2060,7 @@ definitions:
The value describing the use case of this subscription.
In general that is an additional identifier used to differ subscriptions having the same
owning_application and event_types.
minLength: 1
default: 'default'
created_at:
type: string
Expand Down

0 comments on commit 6941085

Please sign in to comment.