24 Commits

Author SHA1 Message Date
William Cheng
661fb42a06 add back ruby client folders 2019-10-10 11:07:50 +08:00
William Cheng
0d91be3a72 update petstore samples 2019-10-10 10:27:13 +08:00
William Cheng
f015363dbd update samples 2019-03-25 22:44:05 +08:00
Jérémie Bresson
a7dfc650b6 Swagger parser update: 2.0.8-OpenAPITools.org-1 (#1721)
* Update Swagger-Parser Version

* Update samples

* surpress javadoc warning

* fix TS tests

* Set version to 2.0.8-OpenAPITools.org-1
2018-12-22 18:12:08 +08:00
meganemura
b9949e1a8e Generate a ruby-client sample for OpenAPI 2.0 (#1482)
* Move output directory for bin/openapi3/ruby-client-petstore.sh

$ git mv sample/client/petstore/ruby sample/openapi3/client/petstore/ruby-client

* $ bin/ruby-client-petstore.sh

* Run bin/ruby-client-petstore.sh in bin/utils/ensure-up-to-date
2018-11-19 17:02:19 +08:00
William Cheng
a55533c178
Add "servers" support to Ruby API client (#1280)
* update ruby samples with OAS3 spec

* add server support to ruby api client

* minor format change

* minor format fix, skip form models

* better exception and add test for invaid value

* remove exception test code
2018-10-22 12:52:52 +08:00
William Cheng
0736939c2a
Remove x-codegen-hasMore extensions (#169)
* remove x-codegen-hasMoreRequired from ruby template

* remove x-codegen-hasMore from html2 templates

* remove commented code
2018-04-21 12:49:27 +08:00
Jeremie Bresson
53597764c3 Add OpenAPI spec 3.0 support (beta)
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com>
Co-authored-by: Jeremie Bresson <dev@jmini.fr>
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
Co-authored-by: Martin Delille <martin@phonations.com>
Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2018-04-17 09:19:10 +02:00
William Cheng
aa6b217bb9
[Ruby] Add auto-generated rubocop config file (#7637)
* add rubocop to ruby api client

* add new files

* fix ruby generator test case
2018-02-12 14:08:02 +08:00
Paŭlo Ebermann
ce41a343d8 Updating all samples (except feign) (#5281) 2017-04-02 17:01:15 +08:00
Paŭlo Ebermann
db71d97370 Updating samples after #5232. (#5243)
* Updating samples after #5232.

* Fix tests after #5232.

* Fix Javascript client tests.

* JaxRS server: set serverPort only when not given from outside.

* Update JaxRS sample creator scripts to fix serverPort.

* Preliminary test fix for JaxRS server generators.

* Updating samples for JaxRS with Jersey1/2.

* Updating JaxRS samples again.
2017-03-30 01:28:53 +08:00
Newell Zhu
1c3f1b4bf8 regenerate ruby sample after remove tailing 2016-05-17 20:13:38 +08:00
Griffin Schneider
e5ab34b658 Replace 'BEARER' with 'Bearer' everywhere.
RFC6750 indicates that the correct header format is 'Bearer <token>',
not 'BEARER <token>'.
2016-05-05 16:14:45 -04:00
wing328
ccc52c2554 update gem spec 2016-04-19 23:41:26 +08:00
Kevin Glinski
2beeabb33a fixing typeos 2016-04-14 08:22:56 -04:00
wing328
e3c73f5819 update ruby sample 2016-04-09 17:55:52 +08:00
wing328
9e45a99e60 udpate ruby api doc 2016-03-19 11:09:49 +08:00
xhh
4100a8537b Display parameter's default value for operations
Done for Java clients (default, jersey2, okhttp-gson), Ruby client and
JavaScript client.
2016-03-17 16:22:36 +08:00
wing328
e10c28596c update user-agent for Ruby 2016-03-15 11:41:47 +08:00
xhh
7505b167b7 Ruby docs: add require and print statements 2016-03-14 15:42:59 +08:00
xhh
d274af4d4a Ruby docs: add sample code of configuring auths 2016-03-11 19:05:27 +08:00
xhh
1df0923525 Ruby: improve handling of default values and examples for parameters in docs 2016-03-11 15:23:55 +08:00
xhh
eafcc2427d Some improvements on Ruby docs 2016-03-10 17:19:18 +08:00
xhh
91bae765ef Some fixes to Ruby docs on links and File parameter 2016-03-09 19:36:28 +08:00