Skip to content

Commit d93e7c1

Browse files
fix: update function signature to match spec
1 parent 9288fe6 commit d93e7c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

server/matching/generated-client/src/test/java/org/openapitools/client/api/GenAiApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class GenAiApiTest {
4242
@Test
4343
public void getApiV2GenaiConversationStarterTest() throws ApiException {
4444
UserCollection userCollection = null;
45-
ConversationStarterCollection response = api.getApiV2GenaiConversationStarter(userCollection);
45+
ConversationStarterCollection response = api.postApiV2GenaiConversationStarter(userCollection);
4646
// TODO: test validations
4747
}
4848

server/matching/src/main/java/meet_at_mensa/matching/client/GenAiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public ConversationStarterCollection getPrompts(UserCollection users) {
5252
org.openapitools.client.model.ConversationStarterCollection clientCollection;
5353

5454
// try to fetch prompts from ConversationStarter
55-
clientCollection = apiInstance.getApiV2GenaiConversationStarter(
55+
clientCollection = apiInstance.postApiV2GenaiConversationStarter(
5656

5757
// convert from server-type to client-type
5858
convertServerUserCollectionToClientUserCollection(users)

server/user/generated-client/src/test/java/org/openapitools/client/api/GenAiApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class GenAiApiTest {
4242
@Test
4343
public void getApiV2GenaiConversationStarterTest() throws ApiException {
4444
UserCollection userCollection = null;
45-
ConversationStarterCollection response = api.getApiV2GenaiConversationStarter(userCollection);
45+
ConversationStarterCollection response = api.postApiV2GenaiConversationStarter(userCollection);
4646
// TODO: test validations
4747
}
4848

0 commit comments

Comments
 (0)