William Cheng ca85ecb283
[Ruby][Faraday] Various improvements (#3520)
* update ruby faraday oas v2 samples

* skip some default tests in faraday

* add ruby faraday oas v3 client

* add tests, fix url

* add tests to CI

* fix file upload

* undo changes to ruby-client-petstore.sh

* test faraday first

* combine gemspec tempaltes

* test ruby faraday in drone.io

* use smaller image

* update bundler

* use official ruby image

* skip bundler installation

* skip autotest

* install make

* use different image

* skip ruby tests in drone.io
2019-08-02 07:00:29 +08:00

784 B

Petstore::DefaultApi

All URIs are relative to http://petstore.swagger.io:80/v2

Method HTTP request Description
foo_get GET /foo

foo_get

InlineResponseDefault foo_get

Example

# load the gem
require 'petstore'

api_instance = Petstore::DefaultApi.new

begin
  result = api_instance.foo_get
  p result
rescue Petstore::ApiError => e
  puts "Exception when calling DefaultApi->foo_get: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

InlineResponseDefault

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json