mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-08 20:56:11 +00:00
[Ruby] Add support for populating a gem metadata (#16872)
* [Ruby] Add support for gems metadata This defaults to an empty hash, but can be overridden with any custom object by the callers via the `gemMetadata` property. * Regenerate samples The gemspecs files will now include a metadata field
This commit is contained in:
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
|
||||
s.description = "This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\"
|
||||
s.license = "Unlicense"
|
||||
s.required_ruby_version = ">= 2.7"
|
||||
s.metadata = {}
|
||||
|
||||
s.add_runtime_dependency 'httpx', '~> 1.0', '>= 1.0.0'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user