Skip to content

Commit 067b2a8

Browse files
author
Panagiotis Roubatsis
committed
Add README
1 parent 25ee496 commit 067b2a8

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.java-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicroprofileCodegen.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public void processOpts() {
122122
String apiFolder = (sourceFolder + File.separator + apiPackage().replace('.', File.separatorChar)).replace('/', File.separatorChar);
123123
supportingFiles.add(new SupportingFile("api_exception.mustache", apiFolder, "ApiException.java"));
124124
supportingFiles.add(new SupportingFile("api_exception_mapper.mustache", apiFolder, "ApiExceptionMapper.java"));
125+
supportingFiles.add(new SupportingFile("README.mustache", "", "README.md"));
125126

126127
writeOptional(outputFolder, new SupportingFile("pom.mustache", "", "pom.xml"));
127128

samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/api/PetApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public interface PetApi {
3939
@ApiOperation(value = "Add a new pet to the store", tags={ })
4040
@ApiResponses(value = {
4141
@ApiResponse(code = 405, message = "Invalid input") })
42-
public void addPet(Pet pet);
42+
public void addPet(Pet body);
4343

4444
/**
4545
* Deletes a pet
@@ -110,7 +110,7 @@ public interface PetApi {
110110
@ApiResponse(code = 400, message = "Invalid ID supplied"),
111111
@ApiResponse(code = 404, message = "Pet not found"),
112112
@ApiResponse(code = 405, message = "Validation exception") })
113-
public void updatePet(Pet pet);
113+
public void updatePet(Pet body);
114114

115115
/**
116116
* Updates a pet in the store with form data

samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/api/StoreApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ public interface StoreApi {
8282
@ApiResponses(value = {
8383
@ApiResponse(code = 200, message = "successful operation", response = Order.class),
8484
@ApiResponse(code = 400, message = "Invalid Order") })
85-
public Order placeOrder(Order order);
85+
public Order placeOrder(Order body);
8686
}
8787

samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/api/UserApi.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public interface UserApi {
3838
@ApiOperation(value = "Create user", tags={ })
3939
@ApiResponses(value = {
4040
@ApiResponse(code = 200, message = "successful operation") })
41-
public void createUser(User user);
41+
public void createUser(User body);
4242

4343
/**
4444
* Creates list of users with given input array
@@ -49,7 +49,7 @@ public interface UserApi {
4949
@ApiOperation(value = "Creates list of users with given input array", tags={ })
5050
@ApiResponses(value = {
5151
@ApiResponse(code = 200, message = "successful operation") })
52-
public void createUsersWithArrayInput(List<User> user);
52+
public void createUsersWithArrayInput(List<User> body);
5353

5454
/**
5555
* Creates list of users with given input array
@@ -60,7 +60,7 @@ public interface UserApi {
6060
@ApiOperation(value = "Creates list of users with given input array", tags={ })
6161
@ApiResponses(value = {
6262
@ApiResponse(code = 200, message = "successful operation") })
63-
public void createUsersWithListInput(List<User> user);
63+
public void createUsersWithListInput(List<User> body);
6464

6565
/**
6666
* Delete user
@@ -126,6 +126,6 @@ public interface UserApi {
126126
@ApiResponses(value = {
127127
@ApiResponse(code = 400, message = "Invalid user supplied"),
128128
@ApiResponse(code = 404, message = "User not found") })
129-
public void updateUser(@PathParam("username") String username, User user);
129+
public void updateUser(@PathParam("username") String username, User body);
130130
}
131131

0 commit comments

Comments
 (0)