Skip to content

Commit 51da322

Browse files
authored
Merge pull request #3 from FastComments/release-2026-01-08
Release v1.2.0 - Properly Type Comment Vote Responses
2 parents 0b922cf + 49f9796 commit 51da322

20 files changed

+16
-1838
lines changed

client/.openapi-generator/FILES

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ include/FastCommentsClient/model/CreateTenantUser_200_response.h
119119
include/FastCommentsClient/model/CreateTenant_200_response.h
120120
include/FastCommentsClient/model/CreateUserBadgeParams.h
121121
include/FastCommentsClient/model/CreateUserBadge_200_response.h
122-
include/FastCommentsClient/model/CreateVoteResponse.h
123-
include/FastCommentsClient/model/CreateVote_200_response.h
124122
include/FastCommentsClient/model/CustomConfigParameters.h
125123
include/FastCommentsClient/model/CustomEmailTemplate.h
126124
include/FastCommentsClient/model/DeleteCommentAction.h
@@ -135,8 +133,6 @@ include/FastCommentsClient/model/DeleteHashTag_request.h
135133
include/FastCommentsClient/model/DeletePageAPIResponse.h
136134
include/FastCommentsClient/model/DeleteSSOUserAPIResponse.h
137135
include/FastCommentsClient/model/DeleteSubscriptionAPIResponse.h
138-
include/FastCommentsClient/model/DeleteVoteResponse.h
139-
include/FastCommentsClient/model/DeleteVote_200_response.h
140136
include/FastCommentsClient/model/DeletedCommentResultComment.h
141137
include/FastCommentsClient/model/DigestEmailFrequency.h
142138
include/FastCommentsClient/model/EmailTemplateDefinition.h
@@ -470,8 +466,6 @@ src/model/CreateTenantUser_200_response.cpp
470466
src/model/CreateTenant_200_response.cpp
471467
src/model/CreateUserBadgeParams.cpp
472468
src/model/CreateUserBadge_200_response.cpp
473-
src/model/CreateVoteResponse.cpp
474-
src/model/CreateVote_200_response.cpp
475469
src/model/CustomConfigParameters.cpp
476470
src/model/CustomEmailTemplate.cpp
477471
src/model/DeleteCommentAction.cpp
@@ -486,8 +480,6 @@ src/model/DeleteHashTag_request.cpp
486480
src/model/DeletePageAPIResponse.cpp
487481
src/model/DeleteSSOUserAPIResponse.cpp
488482
src/model/DeleteSubscriptionAPIResponse.cpp
489-
src/model/DeleteVoteResponse.cpp
490-
src/model/DeleteVote_200_response.cpp
491483
src/model/DeletedCommentResultComment.cpp
492484
src/model/DigestEmailFrequency.cpp
493485
src/model/EmailTemplateDefinition.cpp

client/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
66
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI spec](https://openapis.org) from a remote server, you can easily generate an API client.
77

88
- API version: 0.0.0
9-
- Package version: 1.1.0
9+
- Package version: 1.2.0
1010
- Generator version: 7.19.0-SNAPSHOT
1111
- Build package: org.openapitools.codegen.languages.CppRestSdkClientCodegen
1212

client/include/FastCommentsClient/api/DefaultApi.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,13 @@
6262
#include "FastCommentsClient/model/CreateTenant_200_response.h"
6363
#include "FastCommentsClient/model/CreateUserBadgeParams.h"
6464
#include "FastCommentsClient/model/CreateUserBadge_200_response.h"
65-
#include "FastCommentsClient/model/CreateVote_200_response.h"
65+
#include "FastCommentsClient/model/DeleteCommentVote_200_response.h"
6666
#include "FastCommentsClient/model/DeleteComment_200_response.h"
6767
#include "FastCommentsClient/model/DeleteDomainConfig_200_response.h"
6868
#include "FastCommentsClient/model/DeleteHashTag_request.h"
6969
#include "FastCommentsClient/model/DeletePageAPIResponse.h"
7070
#include "FastCommentsClient/model/DeleteSSOUserAPIResponse.h"
7171
#include "FastCommentsClient/model/DeleteSubscriptionAPIResponse.h"
72-
#include "FastCommentsClient/model/DeleteVote_200_response.h"
7372
#include "FastCommentsClient/model/FeedPost.h"
7473
#include "FastCommentsClient/model/FlagCommentPublic_200_response.h"
7574
#include "FastCommentsClient/model/FlagComment_200_response.h"
@@ -144,6 +143,7 @@
144143
#include "FastCommentsClient/model/UpdateTenantUserBody.h"
145144
#include "FastCommentsClient/model/UpdateUserBadgeParams.h"
146145
#include "FastCommentsClient/model/UpdateUserBadge_200_response.h"
146+
#include "FastCommentsClient/model/VoteComment_200_response.h"
147147
#include <vector>
148148
#include <cpprest/details/basic_types.h>
149149
#include <boost/optional.hpp>
@@ -460,7 +460,7 @@ class DefaultApi
460460
/// <param name="direction"></param>
461461
/// <param name="userId"> (optional, default to utility::conversions::to_string_t(&quot;&quot;))</param>
462462
/// <param name="anonUserId"> (optional, default to utility::conversions::to_string_t(&quot;&quot;))</param>
463-
pplx::task<std::shared_ptr<CreateVote_200_response>> createVote(
463+
pplx::task<std::shared_ptr<VoteComment_200_response>> createVote(
464464
utility::string_t tenantId,
465465
utility::string_t commentId,
466466
utility::string_t direction,
@@ -702,7 +702,7 @@ class DefaultApi
702702
/// <param name="tenantId"></param>
703703
/// <param name="id"></param>
704704
/// <param name="editKey"> (optional, default to utility::conversions::to_string_t(&quot;&quot;))</param>
705-
pplx::task<std::shared_ptr<DeleteVote_200_response>> deleteVote(
705+
pplx::task<std::shared_ptr<DeleteCommentVote_200_response>> deleteVote(
706706
utility::string_t tenantId,
707707
utility::string_t id,
708708
boost::optional<utility::string_t> editKey

client/include/FastCommentsClient/model/CreateVoteResponse.h

Lines changed: 0 additions & 96 deletions
This file was deleted.

client/include/FastCommentsClient/model/CreateVote_200_response.h

Lines changed: 0 additions & 137 deletions
This file was deleted.

0 commit comments

Comments
 (0)