Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ public void processOpts() {
importMapping.put("JsonDeserialize", (useJackson3 ? JACKSON3_PACKAGE : JACKSON2_PACKAGE) + ".databind.annotation.JsonDeserialize");

typeMapping.put("file", "org.springframework.core.io.Resource");
importMapping.put("Nullable", "org.springframework.lang.Nullable");
importMapping.put("Nullable", isUseSpringBoot4() ? "org.jspecify.annotations.Nullable" : "org.springframework.lang.Nullable");
importMapping.put("org.springframework.core.io.Resource", "org.springframework.core.io.Resource");
importMapping.put("DateTimeFormat", "org.springframework.format.annotation.DateTimeFormat");
importMapping.put("ParameterObject", "org.springdoc.api.annotations.ParameterObject");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.openapitools.codegen.cpphttplib;
package org.openapitools.codegen.cpphttplibserver;

import org.openapitools.codegen.*;
import org.openapitools.codegen.languages.CppHttplibServerCodegen;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.openapitools.codegen.cpphttplib;
package org.openapitools.codegen.cpphttplibserver;

import static org.openapitools.codegen.utils.StringUtils.underscore;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# AllOfSimpleModel


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**arrayOfStrings** | **List<String>** | | |



Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# Animal


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**className** | **String** | | |
|**color** | **String** | | [optional] |



Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# AnyTypeTest


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**anyTypeProperty** | **Object** | | [optional] |
|**arrayProp** | **List<String>** | test array in 3.1 spec | [optional] |
|**refArrayPrefixItems** | **List<Object>** | An item that was added to the queue. | [optional] |



Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# ArrayOfSameRef


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**arrayFooOne** | [**List<Tag>**](Tag.md) | | [optional] |
|**arrayFooTwo** | [**List<Tag>**](Tag.md) | | [optional] |
|**arrayFooThree** | [**List<Tag>**](Tag.md) | | [optional] |



Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# Cat


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**declawed** | **Boolean** | | [optional] |



Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# Category

A category for a pet

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **Long** | | [optional] |
|**name** | **String** | | [optional] |



Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# CircularReference1


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**prop1** | [**CircularReference2**](CircularReference2.md) | | [optional] |



Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# CircularReference2


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**prop1** | [**CircularReference3**](CircularReference3.md) | | [optional] |



Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# CircularReference3


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**prop1** | [**CircularReference1**](CircularReference1.md) | | [optional] |



Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# CodesEnum

## Enum


* `CODE_1` (value: `"Code 1"`)

* `CODE_2` (value: `"Code 2"`)

* `CODE_3` (value: `"Code 3"`)



Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# DefaultApi

All URIs are relative to *http://petstore.swagger.io/v2*

| Method | HTTP request | Description |
|------------- | ------------- | -------------|
| [**fakeWebhooksSourcesDeletedPost**](DefaultApi.md#fakeWebhooksSourcesDeletedPost) | **POST** /fake/webhooks/sources/deleted | |



## fakeWebhooksSourcesDeletedPost

> fakeWebhooksSourcesDeletedPost(fakeWebhooksSourcesDeletedPostRequest)



### Example

```java
// Import classes:
import org.openapitools.client.ApiClient;
import org.openapitools.client.ApiException;
import org.openapitools.client.Configuration;
import org.openapitools.client.models.*;
import org.openapitools.client.api.DefaultApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://petstore.swagger.io/v2");

DefaultApi apiInstance = new DefaultApi(defaultClient);
FakeWebhooksSourcesDeletedPostRequest fakeWebhooksSourcesDeletedPostRequest = new FakeWebhooksSourcesDeletedPostRequest(); // FakeWebhooksSourcesDeletedPostRequest |
try {
apiInstance.fakeWebhooksSourcesDeletedPost(fakeWebhooksSourcesDeletedPostRequest);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#fakeWebhooksSourcesDeletedPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters


| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **fakeWebhooksSourcesDeletedPostRequest** | [**FakeWebhooksSourcesDeletedPostRequest**](FakeWebhooksSourcesDeletedPostRequest.md)| | [optional] |

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: Not defined


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | successful operation | - |
| **405** | Invalid input | - |

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# Dog


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**breed** | **String** | | [optional] |



Loading
Loading