Skip to content

Commit 15d1c8d

Browse files
fix: [OpenAPI] Remove generated no args constructor
1 parent b63b037 commit 15d1c8d

4 files changed

Lines changed: 1 addition & 21 deletions

File tree

datamodel/openapi/openapi-api-apache-sample/src/main/java/com/sap/cloud/sdk/datamodel/openapi/apache/petstore/api/DefaultApi.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@
3131
public class DefaultApi extends BaseApi
3232
{
3333

34-
/**
35-
* Instantiates this API class to invoke operations on the Swagger Petstore
36-
*/
37-
public DefaultApi()
38-
{
39-
}
40-
4134
/**
4235
* Instantiates this API class to invoke operations on the Swagger Petstore.
4336
*

datamodel/openapi/openapi-api-apache-sample/src/main/java/com/sap/cloud/sdk/datamodel/openapi/apache/sodastore/api/OrdersApi.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@
2828
public class OrdersApi extends BaseApi
2929
{
3030

31-
/**
32-
* Instantiates this API class to invoke operations on the SodaStore API
33-
*/
34-
public OrdersApi()
35-
{
36-
}
37-
3831
/**
3932
* Instantiates this API class to invoke operations on the SodaStore API.
4033
*

datamodel/openapi/openapi-api-apache-sample/src/main/java/com/sap/cloud/sdk/datamodel/openapi/apache/sodastore/api/SodasApi.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@
3030
public class SodasApi extends BaseApi
3131
{
3232

33-
/**
34-
* Instantiates this API class to invoke operations on the SodaStore API
35-
*/
36-
public SodasApi()
37-
{
38-
}
39-
4033
/**
4134
* Instantiates this API class to invoke operations on the SodaStore API.
4235
*

release_notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### 🔧 Compatibility Notes
1010

1111
- `ODataResourcePath#addSegment(...)` and `addParameterToLastSegment(...)` now return a new path instance instead of mutating the existing one. Custom extensions that relied on in-place mutation need to reassign the returned path.
12+
- [OpenAPI Apache Generator] Remove no args constructor in generated API clients.
1213

1314
### ✨ New Functionality
1415

0 commit comments

Comments
 (0)