Skip to content

Commit cc6c253

Browse files
spec: API v2.3.2 replace GenAi GET endpoint
1 parent 532bffb commit cc6c253

File tree

2 files changed

+34
-13
lines changed

2 files changed

+34
-13
lines changed

api/changelogs/changelog_v2_3_2.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Info
2+
### Version
3+
v2.3.0
4+
### Date
5+
2025-20-07
6+
### Autor
7+
James Stark, Anastasiia Korzhylova
8+
## Changelog:
9+
10+
### Endpoints
11+
- Replace @GET /api/v2/genai/conversation-starter endpoint with POST
12+
13+
14+
``` diff
15+
16+
@@ /api/v2/genai/conversation-starter @@
17+
- Remove GET endpoint
18+
+ add POST endpoint
19+
# fixes issue where GET request body is empty
20+
21+
```

api/openapi.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ x-stoplight:
33
id: ceylawji1yc2t
44
info:
55
title: MeetAtMensa
6-
version: 2.3.1
6+
version: 2.3.2
77
description: |-
88
This OpenAPI specification defines the endpoints, schemas, and security mechanisms
99
for the Meet@Mensa User micro-service.
@@ -1009,10 +1009,9 @@ paths:
10091009
parameters:
10101010
- $ref: '#/components/parameters/match-id'
10111011
/api/v2/genai/conversation-starter:
1012-
get:
1013-
summary: Request conversation starter
1014-
x-stoplight:
1015-
id: 2gb78xli5e55w
1012+
parameters: []
1013+
post:
1014+
summary: Request Conversation Starter
10161015
tags:
10171016
- GenAI
10181017
responses:
@@ -1023,22 +1022,23 @@ paths:
10231022
schema:
10241023
$ref: '#/components/schemas/ConversationStarterCollection'
10251024
'400':
1026-
$ref: '#/components/responses/BadRequestError'
1027-
'401':
1028-
$ref: '#/components/responses/UnauthorizedError'
1025+
description: Bad Request
1026+
'403':
1027+
description: Forbidden
10291028
'404':
1030-
$ref: '#/components/responses/NotFoundError'
1029+
description: Not Found
10311030
'500':
10321031
description: Internal Server Error
1033-
operationId: get-api-v2-genai-conversation-starter
1032+
operationId: post-api-v2-genai-conversation-starter
1033+
x-stoplight:
1034+
id: dhdc3v3wiauk8
1035+
description: Request a series of conversation starter prompts from the GenAI microservice. Provide infomation about users on request.
10341036
requestBody:
10351037
content:
10361038
application/json:
10371039
schema:
10381040
$ref: '#/components/schemas/UserCollection'
1039-
description: Request Conversation starter for these users
1040-
description: Request a series of conversation starter prompts from the GenAI microservice. Provide infomation about users on request.
1041-
parameters: []
1041+
description: ''
10421042
'/api/v2/user/me/{auth-id}':
10431043
parameters:
10441044
- $ref: '#/components/parameters/auth-id'

0 commit comments

Comments
 (0)