forked from loafle/openapi-generator-original
fix defeault rspec test for ruby, update security petstore
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
# Petstore::FakeApi
|
||||
|
||||
All URIs are relative to *https://petstore.swagger.io */ ' " =end/v2 */ ' " =end*
|
||||
All URIs are relative to *https://petstore.swagger.io */ ' \" =_end -- \\r\\n \\n \\r/v2 */ ' \" =_end -- \\r\\n \\n \\r*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**test_code_inject____end**](FakeApi.md#test_code_inject____end) | **PUT** /fake | To test code injection */ ' \"
|
||||
[**test_code_inject____end__rn_n_r**](FakeApi.md#test_code_inject____end__rn_n_r) | **PUT** /fake | To test code injection */ ' \" =_end -- \\r\\n \\n \\r
|
||||
|
||||
|
||||
# **test_code_inject____end**
|
||||
> test_code_inject____end(opts)
|
||||
# **test_code_inject____end__rn_n_r**
|
||||
> test_code_inject____end__rn_n_r(opts)
|
||||
|
||||
To test code injection */ ' \"
|
||||
To test code injection */ ' \" =_end -- \\r\\n \\n \\r
|
||||
|
||||
### Example
|
||||
```ruby
|
||||
@@ -20,14 +20,14 @@ require 'petstore'
|
||||
api_instance = Petstore::FakeApi.new
|
||||
|
||||
opts = {
|
||||
test_code_inject____end: "test_code_inject____end_example" # String | To test code injection */ ' \"
|
||||
test_code_inject____end____rn_n_r: "test_code_inject____end____rn_n_r_example" # String | To test code injection */ ' \" =_end -- \\r\\n \\n \\r
|
||||
}
|
||||
|
||||
begin
|
||||
#To test code injection */ ' \"
|
||||
api_instance.test_code_inject____end(opts)
|
||||
#To test code injection */ ' \" =_end -- \\r\\n \\n \\r
|
||||
api_instance.test_code_inject____end__rn_n_r(opts)
|
||||
rescue Petstore::ApiError => e
|
||||
puts "Exception when calling FakeApi->test_code_inject____end: #{e}"
|
||||
puts "Exception when calling FakeApi->test_code_inject____end__rn_n_r: #{e}"
|
||||
end
|
||||
```
|
||||
|
||||
@@ -35,7 +35,7 @@ end
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**test_code_inject____end** | **String**| To test code injection */ ' \" | [optional]
|
||||
**test_code_inject____end____rn_n_r** | **String**| To test code injection */ ' \" =_end -- \\r\\n \\n \\r | [optional]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -47,8 +47,8 @@ No authorization required
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json, */ " =end
|
||||
- **Accept**: application/json, */ " =end
|
||||
- **Content-Type**: application/json, */ \" =_end --
|
||||
- **Accept**: application/json, */ \" =_end --
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**_return** | **Integer** | property description */ ' \" | [optional]
|
||||
**_return** | **Integer** | property description */ ' \" =_end -- \\r\\n \\n \\r | [optional]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user