forked from loafle/openapi-generator-original
Fix support for 'class' properties in Java codegen (#4237)
* 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
This commit is contained in:
10
samples/client/petstore/java/okhttp-gson/docs/ClassModel.md
Normal file
10
samples/client/petstore/java/okhttp-gson/docs/ClassModel.md
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
# ClassModel
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**propertyClass** | **String** | | [optional]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user