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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
lockVersion: 2.0.0
id: 37267b3b-21f9-4237-891a-b05feedd266a
management:
docChecksum: 81505265a2f19dfa29c7624d0dd1ea98
docChecksum: f369e18e829df384b97888dc75314b1c
docVersion: 1.0.0
speakeasyVersion: 0.0.1
generationVersion: 2.711.1
releaseVersion: 0.0.7
configChecksum: 6088d7125401c4b46565a3b4f89c48d2
releaseVersion: 0.0.8
configChecksum: 1f057ad3ba457404469e027d6efbd52c
repoURL: https://github.com/speakeasy-api/git-binary-repro-ivan.git
installationURL: https://github.com/speakeasy-api/git-binary-repro-ivan
customCodePatch: "diff --git a/lib/open_api_sdk/models/components/pet.rb b/lib/open_api_sdk/models/components/pet.rb\nindex 5e81d8f..45e5207 100644\n--- a/lib/open_api_sdk/models/components/pet.rb\n+++ b/lib/open_api_sdk/models/components/pet.rb\n@@ -21,7 +21,7 @@ module OpenApiSDK\n field :category, Crystalline::Nilable.new(Models::Components::Category), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('category') } }\n \n field :tags, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Tag)), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tags') } }\n- # pet status in the store\n+ # pet status in the store - MANUAL EDIT VERSION A\n field :status, Crystalline::Nilable.new(Models::Components::PetStatus), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(Models::Components::PetStatus, true) } }\n \n field :id, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }\n"
features:
ruby:
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: false
ruby:
version: 0.0.7
version: 0.0.8
additionalDependencies:
development: {}
runtime: {}
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ components:
'$ref': '#/components/schemas/Tag'
status:
type: string
description: pet status in the store
description: pet status in the store - SPEC EDIT VERSION B
enum:
- available
- pending
Expand Down
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:
openapi (0.0.4)
openapi (0.0.8)
base64 (>= 0.2.0, < 1.0)
faraday
faraday-multipart
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The SDK can be installed using [RubyGems](https://rubygems.org/):

```bash
gem install specific_install
gem specific_install
gem specific_install https://github.com/speakeasy-api/git-binary-repro-ivan
```
<!-- End SDK Installation [installation] -->

Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/pet.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
| `name` | *::String* | :heavy_check_mark: | N/A | doggie |
| `photo_urls` | T::Array<*::String*> | :heavy_check_mark: | N/A | |
| `tags` | T::Array<[Models::Components::Tag](../../models/shared/tag.md)> | :heavy_minus_sign: | N/A | |
| `status` | [T.nilable(Models::Components::PetStatus)](../../models/shared/petstatus.md) | :heavy_minus_sign: | pet status in the store | |
| `status` | [T.nilable(Models::Components::PetStatus)](../../models/shared/petstatus.md) | :heavy_minus_sign: | pet status in the store - SPEC EDIT VERSION B | |
2 changes: 1 addition & 1 deletion docs/models/components/petinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
| `name` | *::String* | :heavy_check_mark: | N/A | doggie |
| `photo_urls` | T::Array<*::String*> | :heavy_check_mark: | N/A | |
| `tags` | T::Array<[Models::Components::Tag](../../models/shared/tag.md)> | :heavy_minus_sign: | N/A | |
| `status` | [T.nilable(Models::Components::PetStatus)](../../models/shared/petstatus.md) | :heavy_minus_sign: | pet status in the store | |
| `status` | [T.nilable(Models::Components::PetStatus)](../../models/shared/petstatus.md) | :heavy_minus_sign: | pet status in the store - SPEC EDIT VERSION B | |
2 changes: 1 addition & 1 deletion docs/models/components/petstatus.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PetStatus

pet status in the store
pet status in the store - SPEC EDIT VERSION B


## Values
Expand Down
2 changes: 1 addition & 1 deletion lib/open_api_sdk/models/components/pet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Pet
field :category, Crystalline::Nilable.new(Models::Components::Category), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('category') } }

field :tags, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Tag)), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tags') } }
# pet status in the store - MANUAL EDIT VERSION A
# pet status in the store
field :status, Crystalline::Nilable.new(Models::Components::PetStatus), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(Models::Components::PetStatus, true) } }

field :id, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
Expand Down
2 changes: 1 addition & 1 deletion lib/open_api_sdk/models/components/pet_input.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PetInput
field :category, Crystalline::Nilable.new(Models::Components::Category), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('category') } }

field :tags, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Tag)), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tags') } }
# pet status in the store
# pet status in the store - SPEC EDIT VERSION B
field :status, Crystalline::Nilable.new(Models::Components::PetStatus), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(Models::Components::PetStatus, true) } }


Expand Down
2 changes: 1 addition & 1 deletion lib/open_api_sdk/models/components/pet_status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module OpenApiSDK
module Models
module Components

# PetStatus - pet status in the store
# PetStatus - pet status in the store - SPEC EDIT VERSION B
class PetStatus


Expand Down
4 changes: 2 additions & 2 deletions lib/open_api_sdk/sdkconfiguration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ def initialize(client, hooks, retry_config, timeout_ms, petstore_auth, security_
end
@language = 'ruby'
@openapi_doc_version = '1.0.0'
@sdk_version = '0.0.7'
@sdk_version = '0.0.8'
@gen_version = '2.711.1'
@user_agent = 'speakeasy-sdk/ruby 0.0.7 2.711.1 1.0.0 openapi'
@user_agent = 'speakeasy-sdk/ruby 0.0.8 2.711.1 1.0.0 openapi'
end


Expand Down
8 changes: 7 additions & 1 deletion openapi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ $LOAD_PATH.push File.expand_path('lib', __dir__)

Gem::Specification.new do |s|
s.name = 'openapi'
s.version = '0.0.7'
s.version = '0.0.8'
s.platform = Gem::Platform::RUBY
s.licenses = ['Apache-2.0']
s.summary = ''
s.homepage = 'https://github.com/speakeasy-api/git-binary-repro-ivan.git'
s.description = 'Ruby Client SDK Generated by Speakeasy'
s.authors = ['Speakeasy']
s.metadata = {
'homepage_uri' => 'https://github.com/speakeasy-api/git-binary-repro-ivan.git',
'documentation_uri' => 'https://github.com/speakeasy-api/git-binary-repro-ivan.git',
'source_code_uri' => 'https://github.com/speakeasy-api/git-binary-repro-ivan.git'
}

s.files = Dir['{lib,test}/**/*']
s.require_paths = ['lib']
Expand Down