Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
fastcomments (1.0.0)
fastcomments (1.2.0)
typhoeus (~> 1.0, >= 1.0.1)

GEM
Expand Down
12 changes: 0 additions & 12 deletions client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ docs/CreateTenantUserBody.md
docs/CreateTenantUserResponse.md
docs/CreateUserBadge200Response.md
docs/CreateUserBadgeParams.md
docs/CreateVote200Response.md
docs/CreateVoteResponse.md
docs/CustomConfigParameters.md
docs/CustomEmailTemplate.md
docs/DefaultApi.md
Expand All @@ -127,8 +125,6 @@ docs/DeleteHashTagRequest.md
docs/DeletePageAPIResponse.md
docs/DeleteSSOUserAPIResponse.md
docs/DeleteSubscriptionAPIResponse.md
docs/DeleteVote200Response.md
docs/DeleteVoteResponse.md
docs/DeletedCommentResultComment.md
docs/DigestEmailFrequency.md
docs/EmailTemplateDefinition.md
Expand Down Expand Up @@ -461,8 +457,6 @@ lib/fastcomments-client/models/create_tenant_user_body.rb
lib/fastcomments-client/models/create_tenant_user_response.rb
lib/fastcomments-client/models/create_user_badge200_response.rb
lib/fastcomments-client/models/create_user_badge_params.rb
lib/fastcomments-client/models/create_vote200_response.rb
lib/fastcomments-client/models/create_vote_response.rb
lib/fastcomments-client/models/custom_config_parameters.rb
lib/fastcomments-client/models/custom_email_template.rb
lib/fastcomments-client/models/delete_comment200_response.rb
Expand All @@ -477,8 +471,6 @@ lib/fastcomments-client/models/delete_hash_tag_request.rb
lib/fastcomments-client/models/delete_page_api_response.rb
lib/fastcomments-client/models/delete_sso_user_api_response.rb
lib/fastcomments-client/models/delete_subscription_api_response.rb
lib/fastcomments-client/models/delete_vote200_response.rb
lib/fastcomments-client/models/delete_vote_response.rb
lib/fastcomments-client/models/deleted_comment_result_comment.rb
lib/fastcomments-client/models/digest_email_frequency.rb
lib/fastcomments-client/models/email_template_definition.rb
Expand Down Expand Up @@ -804,8 +796,6 @@ spec/models/create_tenant_user_body_spec.rb
spec/models/create_tenant_user_response_spec.rb
spec/models/create_user_badge200_response_spec.rb
spec/models/create_user_badge_params_spec.rb
spec/models/create_vote200_response_spec.rb
spec/models/create_vote_response_spec.rb
spec/models/custom_config_parameters_spec.rb
spec/models/custom_email_template_spec.rb
spec/models/delete_comment200_response_spec.rb
Expand All @@ -820,8 +810,6 @@ spec/models/delete_hash_tag_request_spec.rb
spec/models/delete_page_api_response_spec.rb
spec/models/delete_sso_user_api_response_spec.rb
spec/models/delete_subscription_api_response_spec.rb
spec/models/delete_vote200_response_spec.rb
spec/models/delete_vote_response_spec.rb
spec/models/deleted_comment_result_comment_spec.rb
spec/models/digest_email_frequency_spec.rb
spec/models/email_template_definition_spec.rb
Expand Down
2 changes: 1 addition & 1 deletion client/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.18.0-SNAPSHOT
7.19.0-SNAPSHOT
2 changes: 1 addition & 1 deletion client/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ script:
- bundle install --path vendor/bundle
- bundle exec rspec
- gem build fastcomments-client.gemspec
- gem install ./fastcomments-client-1.0.0.gem
- gem install ./fastcomments-client-1.2.0.gem
14 changes: 5 additions & 9 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ No description provided (generated by Openapi Generator https://github.com/opena
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.0.0
- Package version: 1.0.0
- Generator version: 7.18.0-SNAPSHOT
- Package version: 1.2.0
- Generator version: 7.19.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.RubyClientCodegen

## Installation
Expand All @@ -24,16 +24,16 @@ gem build fastcomments-client.gemspec
Then either install the gem locally:

```shell
gem install ./fastcomments-client-1.0.0.gem
gem install ./fastcomments-client-1.2.0.gem
```

(for development, run `gem install --dev ./fastcomments-client-1.0.0.gem` to install the development dependencies)
(for development, run `gem install --dev ./fastcomments-client-1.2.0.gem` to install the development dependencies)

or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).

Finally add this to the Gemfile:

gem 'fastcomments-client', '~> 1.0.0'
gem 'fastcomments-client', '~> 1.2.0'

### Install from Git

Expand Down Expand Up @@ -335,8 +335,6 @@ Class | Method | HTTP request | Description
- [FastCommentsClient::CreateTenantUserResponse](docs/CreateTenantUserResponse.md)
- [FastCommentsClient::CreateUserBadge200Response](docs/CreateUserBadge200Response.md)
- [FastCommentsClient::CreateUserBadgeParams](docs/CreateUserBadgeParams.md)
- [FastCommentsClient::CreateVote200Response](docs/CreateVote200Response.md)
- [FastCommentsClient::CreateVoteResponse](docs/CreateVoteResponse.md)
- [FastCommentsClient::CustomConfigParameters](docs/CustomConfigParameters.md)
- [FastCommentsClient::CustomEmailTemplate](docs/CustomEmailTemplate.md)
- [FastCommentsClient::DeleteComment200Response](docs/DeleteComment200Response.md)
Expand All @@ -351,8 +349,6 @@ Class | Method | HTTP request | Description
- [FastCommentsClient::DeletePageAPIResponse](docs/DeletePageAPIResponse.md)
- [FastCommentsClient::DeleteSSOUserAPIResponse](docs/DeleteSSOUserAPIResponse.md)
- [FastCommentsClient::DeleteSubscriptionAPIResponse](docs/DeleteSubscriptionAPIResponse.md)
- [FastCommentsClient::DeleteVote200Response](docs/DeleteVote200Response.md)
- [FastCommentsClient::DeleteVoteResponse](docs/DeleteVoteResponse.md)
- [FastCommentsClient::DeletedCommentResultComment](docs/DeletedCommentResultComment.md)
- [FastCommentsClient::DigestEmailFrequency](docs/DigestEmailFrequency.md)
- [FastCommentsClient::EmailTemplateDefinition](docs/EmailTemplateDefinition.md)
Expand Down
32 changes: 0 additions & 32 deletions client/docs/CreateVote200Response.md

This file was deleted.

18 changes: 0 additions & 18 deletions client/docs/CreateVoteResponse.md

This file was deleted.

16 changes: 8 additions & 8 deletions client/docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,7 @@ end

## create_vote

> <CreateVote200Response> create_vote(tenant_id, comment_id, direction, opts)
> <VoteComment200Response> create_vote(tenant_id, comment_id, direction, opts)



Expand Down Expand Up @@ -1638,15 +1638,15 @@ end

This returns an Array which contains the response data, status code and headers.

> <Array(<CreateVote200Response>, Integer, Hash)> create_vote_with_http_info(tenant_id, comment_id, direction, opts)
> <Array(<VoteComment200Response>, Integer, Hash)> create_vote_with_http_info(tenant_id, comment_id, direction, opts)

```ruby
begin

data, status_code, headers = api_instance.create_vote_with_http_info(tenant_id, comment_id, direction, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <CreateVote200Response>
p data # => <VoteComment200Response>
rescue FastCommentsClient::ApiError => e
puts "Error when calling DefaultApi->create_vote_with_http_info: #{e}"
end
Expand All @@ -1664,7 +1664,7 @@ end

### Return type

[**CreateVote200Response**](CreateVote200Response.md)
[**VoteComment200Response**](VoteComment200Response.md)

### Authorization

Expand Down Expand Up @@ -2921,7 +2921,7 @@ end

## delete_vote

> <DeleteVote200Response> delete_vote(tenant_id, id, opts)
> <DeleteCommentVote200Response> delete_vote(tenant_id, id, opts)



Expand Down Expand Up @@ -2958,15 +2958,15 @@ end

This returns an Array which contains the response data, status code and headers.

> <Array(<DeleteVote200Response>, Integer, Hash)> delete_vote_with_http_info(tenant_id, id, opts)
> <Array(<DeleteCommentVote200Response>, Integer, Hash)> delete_vote_with_http_info(tenant_id, id, opts)

```ruby
begin

data, status_code, headers = api_instance.delete_vote_with_http_info(tenant_id, id, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <DeleteVote200Response>
p data # => <DeleteCommentVote200Response>
rescue FastCommentsClient::ApiError => e
puts "Error when calling DefaultApi->delete_vote_with_http_info: #{e}"
end
Expand All @@ -2982,7 +2982,7 @@ end

### Return type

[**DeleteVote200Response**](DeleteVote200Response.md)
[**DeleteCommentVote200Response**](DeleteCommentVote200Response.md)

### Authorization

Expand Down
32 changes: 0 additions & 32 deletions client/docs/DeleteVote200Response.md

This file was deleted.

18 changes: 0 additions & 18 deletions client/docs/DeleteVoteResponse.md

This file was deleted.

2 changes: 1 addition & 1 deletion client/fastcomments-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
The version of the OpenAPI document: 0.0.0

Generated by: https://openapi-generator.tech
Generator version: 7.18.0-SNAPSHOT
Generator version: 7.19.0-SNAPSHOT

=end

Expand Down
6 changes: 1 addition & 5 deletions client/lib/fastcomments-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.0

Generated by: https://openapi-generator.tech
Generator version: 7.18.0-SNAPSHOT
Generator version: 7.19.0-SNAPSHOT

=end

Expand Down Expand Up @@ -121,8 +121,6 @@
require 'fastcomments-client/models/create_tenant_user_response'
require 'fastcomments-client/models/create_user_badge200_response'
require 'fastcomments-client/models/create_user_badge_params'
require 'fastcomments-client/models/create_vote200_response'
require 'fastcomments-client/models/create_vote_response'
require 'fastcomments-client/models/custom_config_parameters'
require 'fastcomments-client/models/custom_email_template'
require 'fastcomments-client/models/delete_comment200_response'
Expand All @@ -137,8 +135,6 @@
require 'fastcomments-client/models/delete_page_api_response'
require 'fastcomments-client/models/delete_sso_user_api_response'
require 'fastcomments-client/models/delete_subscription_api_response'
require 'fastcomments-client/models/delete_vote200_response'
require 'fastcomments-client/models/delete_vote_response'
require 'fastcomments-client/models/deleted_comment_result_comment'
require 'fastcomments-client/models/digest_email_frequency'
require 'fastcomments-client/models/email_template_definition'
Expand Down
14 changes: 7 additions & 7 deletions client/lib/fastcomments-client/api/default_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 0.0.0

Generated by: https://openapi-generator.tech
Generator version: 7.18.0-SNAPSHOT
Generator version: 7.19.0-SNAPSHOT

=end

Expand Down Expand Up @@ -1484,7 +1484,7 @@ def create_user_badge_with_http_info(tenant_id, create_user_badge_params, opts =
# @param [Hash] opts the optional parameters
# @option opts [String] :user_id
# @option opts [String] :anon_user_id
# @return [CreateVote200Response]
# @return [VoteComment200Response]
def create_vote(tenant_id, comment_id, direction, opts = {})
data, _status_code, _headers = create_vote_with_http_info(tenant_id, comment_id, direction, opts)
data
Expand All @@ -1496,7 +1496,7 @@ def create_vote(tenant_id, comment_id, direction, opts = {})
# @param [Hash] opts the optional parameters
# @option opts [String] :user_id
# @option opts [String] :anon_user_id
# @return [Array<(CreateVote200Response, Integer, Hash)>] CreateVote200Response data, response status code and response headers
# @return [Array<(VoteComment200Response, Integer, Hash)>] VoteComment200Response data, response status code and response headers
def create_vote_with_http_info(tenant_id, comment_id, direction, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: DefaultApi.create_vote ...'
Expand Down Expand Up @@ -1541,7 +1541,7 @@ def create_vote_with_http_info(tenant_id, comment_id, direction, opts = {})
post_body = opts[:debug_body]

# return_type
return_type = opts[:debug_return_type] || 'CreateVote200Response'
return_type = opts[:debug_return_type] || 'VoteComment200Response'

# auth_names
auth_names = opts[:debug_auth_names] || ['api_key']
Expand Down Expand Up @@ -2725,7 +2725,7 @@ def delete_user_badge_with_http_info(tenant_id, id, opts = {})
# @param id [String]
# @param [Hash] opts the optional parameters
# @option opts [String] :edit_key
# @return [DeleteVote200Response]
# @return [DeleteCommentVote200Response]
def delete_vote(tenant_id, id, opts = {})
data, _status_code, _headers = delete_vote_with_http_info(tenant_id, id, opts)
data
Expand All @@ -2735,7 +2735,7 @@ def delete_vote(tenant_id, id, opts = {})
# @param id [String]
# @param [Hash] opts the optional parameters
# @option opts [String] :edit_key
# @return [Array<(DeleteVote200Response, Integer, Hash)>] DeleteVote200Response data, response status code and response headers
# @return [Array<(DeleteCommentVote200Response, Integer, Hash)>] DeleteCommentVote200Response data, response status code and response headers
def delete_vote_with_http_info(tenant_id, id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_vote ...'
Expand Down Expand Up @@ -2768,7 +2768,7 @@ def delete_vote_with_http_info(tenant_id, id, opts = {})
post_body = opts[:debug_body]

# return_type
return_type = opts[:debug_return_type] || 'DeleteVote200Response'
return_type = opts[:debug_return_type] || 'DeleteCommentVote200Response'

# auth_names
auth_names = opts[:debug_auth_names] || ['api_key']
Expand Down
Loading