forked from loafle/openapi-generator-original
* Fix support for 'class' properties in Java codegen Currently Java codegen works successfully for property named 'class' but fails on '_class', '__class', etc, because of 'Object.getClass()' overloading. This fix is intended to avoid all Object method overloading cases. * Regenerated samples for Java petstore-security-test
1.5 KiB
1.5 KiB
FakeApi
All URIs are relative to *https://petstore.swagger.io / ' " =end -- \r\n \n \r/v2 */ ' " =end -- \r\n \n \r
Method | HTTP request | Description |
---|---|---|
testCodeInjectEndRnNR | PUT /fake | To test code injection *_/ ' " =end -- \r\n \n \r |
testCodeInjectEndRnNR
testCodeInjectEndRnNR(testCodeInjectEndRnNR)
To test code injection *_/ ' " =end -- \r\n \n \r
Example
// Import classes:
//import io.swagger.client.ApiException;
//import io.swagger.client.api.FakeApi;
FakeApi apiInstance = new FakeApi();
String testCodeInjectEndRnNR = "testCodeInjectEndRnNR_example"; // String | To test code injection *_/ ' \" =end -- \\r\\n \\n \\r
try {
apiInstance.testCodeInjectEndRnNR(testCodeInjectEndRnNR);
} catch (ApiException e) {
System.err.println("Exception when calling FakeApi#testCodeInjectEndRnNR");
e.printStackTrace();
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
testCodeInjectEndRnNR | String | To test code injection *_/ ' " =end -- \r\n \n \r | [optional] |
Return type
null (empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json, *_/ ' =end --
- Accept: application/json, *_/ ' =end --