Sha256: 84c76036032c4df710c1d76a92059c68a6fd87d6313bd80e01bd723f4025cbc0

Contents?: true

Size: 591 Bytes

Versions: 5

Compression:

Stored size: 591 Bytes

Contents

# Generate Command
`openapi-generator generate -g ruby -i bandwidth.yml -c openapi-config.yml -o ./`

# Custom Base URL

* To get a custom url, instead of setting the `environment` parameter in the config, you must make a custom operation in `configuration.rb`
``` ruby
"Custom": [
  {
    url: "https://d6979da481772c167be0edcd10eb64d7.m.pipedream.net",
    description: "testing"
  }
],
```
this must go in `operation_server_settings` and then `:operation => :"Custom",` must go in `new_options = opts.merge(` for the method you are calling within the `?_api.rb` file for the specific api

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bandwidth-sdk-11.0.0.pre.beta.4.0 ruby-notes.md
bandwidth-sdk-11.0.0.pre.beta.3.1 ruby-notes.md
bandwidth-sdk-11.0.0.pre.beta.3.0 ruby-notes.md
bandwidth-sdk-11.0.0.pre.beta.2.0 ruby-notes.md
bandwidth-sdk-11.0.0.pre.beta.1.1 ruby-notes.md