Skip to content

Commit

Permalink
Add POST auth endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean committed Nov 17, 2024
1 parent 7b6cf2e commit d91e8b9
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions contract/src/main/resources/swagger/kafbat-ui-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ paths:
items:
$ref: '#/components/schemas/Cluster'


/api/clusters/{clusterName}/cache:
post:
tags:
Expand All @@ -54,7 +53,6 @@ paths:
404:
description: Not found


/api/clusters/{clusterName}/brokers:
get:
tags:
Expand Down Expand Up @@ -432,7 +430,6 @@ paths:
404:
description: Not found


/api/clusters/{clusterName}/topics/{topicName}:
get:
tags:
Expand Down Expand Up @@ -2220,7 +2217,6 @@ paths:
schema:
$ref: '#/components/schemas/ApplicationConfigValidation'


/api/config/relatedfiles:
post:
tags:
Expand Down Expand Up @@ -2258,6 +2254,26 @@ paths:
schema:
$ref: '#/components/schemas/AppAuthenticationSettings'

/auth:
post:
summary: Authenticate
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
username:
type: string
password:
type: string
responses:
'200':
description: OK
'401':
description: Unauthorized

components:
schemas:
TopicSerdeSuggestion:
Expand Down

0 comments on commit d91e8b9

Please sign in to comment.