Files
openapi-generator/samples/client/petstore
Chris Couzens 201cbdce29 Ruby client: escape path parameters
Path parameters should be escaped when encoded into the path.

In the path '/pet/{petId}' let's pretend petId is a string instead of a
number.

If the user uses "Bobby" as the petId then they correctly get the path
'/pet/Bobby'.
But if they put 'Bobby/Tables' as the petId then they used to get the
path '/pet/Bobby/Tables' which will be interpreted by the server as a
different route.

Using CGI::Escape they now get '/pet/Bobby%2FTables' which is correct.
2019-06-02 09:33:33 +01:00
..
2019-03-06 01:13:28 +08:00
2019-04-15 11:27:34 +08:00
2019-05-28 00:45:01 +08:00
2019-06-02 09:33:33 +01:00
2019-04-22 22:26:33 +08:00
2019-03-06 01:13:28 +08:00
2019-04-17 15:18:03 +08:00