Skip to content

Commit 5daad84

Browse files
committed
rebase
1 parent 37a3078 commit 5daad84

7 files changed

Lines changed: 13 additions & 0 deletions

File tree

samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/src/gen/java/org/openapitools/api/PetApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public Response findPetsByTags(@QueryParam("tags") @NotNull @org.eclipse.microp
157157
@org.eclipse.microprofile.openapi.annotations.media.Content(mediaType="application/json")
158158
})
159159
})
160+
@io.quarkus.security.Authenticated
160161
public Response getPetById(@PathParam("petId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of pet to return") Long petId) {
161162
return Response.ok().entity("magic!").build();
162163
}

samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/src/gen/java/org/openapitools/api/StoreApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public Response deleteOrder(@PathParam("orderId") @org.eclipse.microprofile.open
7878
@org.eclipse.microprofile.openapi.annotations.media.Content(mediaType="application/json", schema = @org.eclipse.microprofile.openapi.annotations.media.Schema(implementation = Map.class))
7979
})
8080
})
81+
@io.quarkus.security.Authenticated
8182
public Response getInventory() {
8283
return Response.ok().entity("magic!").build();
8384
}

samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/src/gen/java/org/openapitools/api/UserApi.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public class UserApi {
5959

6060
})
6161
})
62+
@io.quarkus.security.Authenticated
6263
public Response createUser(@Valid @NotNull User user) {
6364
return Response.ok().entity("magic!").build();
6465
}
@@ -77,6 +78,7 @@ public Response createUser(@Valid @NotNull User user) {
7778

7879
})
7980
})
81+
@io.quarkus.security.Authenticated
8082
public Response createUsersWithArrayInput(@Valid @NotNull List<@Valid User> user) {
8183
return Response.ok().entity("magic!").build();
8284
}
@@ -95,6 +97,7 @@ public Response createUsersWithArrayInput(@Valid @NotNull List<@Valid User> user
9597

9698
})
9799
})
100+
@io.quarkus.security.Authenticated
98101
public Response createUsersWithListInput(@Valid @NotNull List<@Valid User> user) {
99102
return Response.ok().entity("magic!").build();
100103
}
@@ -115,6 +118,7 @@ public Response createUsersWithListInput(@Valid @NotNull List<@Valid User> user)
115118

116119
})
117120
})
121+
@io.quarkus.security.Authenticated
118122
public Response deleteUser(@PathParam("username") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="The name that needs to be deleted") String username) {
119123
return Response.ok().entity("magic!").build();
120124
}
@@ -182,6 +186,7 @@ public Response loginUser(@QueryParam("username") @NotNull @Pattern(regexp="^[a-
182186

183187
})
184188
})
189+
@io.quarkus.security.Authenticated
185190
public Response logoutUser() {
186191
return Response.ok().entity("magic!").build();
187192
}
@@ -203,6 +208,7 @@ public Response logoutUser() {
203208

204209
})
205210
})
211+
@io.quarkus.security.Authenticated
206212
public Response updateUser(@PathParam("username") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="name that need to be deleted") String username,@Valid @NotNull User user) {
207213
return Response.ok().entity("magic!").build();
208214
}

samples/server/petstore/jaxrs-spec-quarkus-mutiny/src/gen/java/org/openapitools/api/FakeApi.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ public Response testClientModel(@Valid @NotNull Client client) {
308308

309309
})
310310
})
311+
@io.quarkus.security.Authenticated
311312
public Response testEndpointParameters(@FormParam(value = "number") BigDecimal number,@FormParam(value = "double") Double _double,@FormParam(value = "pattern_without_delimiter") String patternWithoutDelimiter,@FormParam(value = "byte") byte[] _byte,@FormParam(value = "integer") Integer integer,@FormParam(value = "int32") Integer int32,@FormParam(value = "int64") Long int64,@FormParam(value = "float") Float _float,@FormParam(value = "string") String string,@FormParam(value = "binary") InputStream binaryInputStream,@FormParam(value = "date") LocalDate date,@FormParam(value = "dateTime") LocalDateTime dateTime,@FormParam(value = "password") String password,@FormParam(value = "callback") String paramCallback) {
312313
return Response.ok().entity("magic!").build();
313314
}
@@ -342,6 +343,7 @@ public Response testEnumParameters(@HeaderParam("enum_header_string_array") @o
342343

343344
})
344345
})
346+
@io.quarkus.security.Authenticated
345347
public Response testGroupParameters(@QueryParam("required_string_group") @NotNull @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="Required String in group parameters") Integer requiredStringGroup,@HeaderParam("required_boolean_group") @NotNull @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="Required Boolean in group parameters") Boolean requiredBooleanGroup,@QueryParam("required_int64_group") @NotNull @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="Required Integer in group parameters") Long requiredInt64Group,@QueryParam("string_group") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="String in group parameters") Integer stringGroup,@HeaderParam("boolean_group") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="Boolean in group parameters") Boolean booleanGroup,@QueryParam("int64_group") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="Integer in group parameters") Long int64Group) {
346348
return Response.ok().entity("magic!").build();
347349
}

samples/server/petstore/jaxrs-spec-quarkus-mutiny/src/gen/java/org/openapitools/api/FakeClassnameTestApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public class FakeClassnameTestApi {
7575
@org.eclipse.microprofile.openapi.annotations.media.Content(mediaType="application/json", schema = @org.eclipse.microprofile.openapi.annotations.media.Schema(implementation = Client.class))
7676
})
7777
})
78+
@io.quarkus.security.Authenticated
7879
public Response testClassname(@Valid @NotNull Client client) {
7980
return Response.ok().entity("magic!").build();
8081
}

samples/server/petstore/jaxrs-spec-quarkus-mutiny/src/gen/java/org/openapitools/api/PetApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public Response findPetsByTags(@QueryParam("tags") @NotNull @org.eclipse.microp
174174
@org.eclipse.microprofile.openapi.annotations.media.Content(mediaType="application/json")
175175
})
176176
})
177+
@io.quarkus.security.Authenticated
177178
public Response getPetById(@PathParam("petId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of pet to return") Long petId) {
178179
return Response.ok().entity("magic!").build();
179180
}

samples/server/petstore/jaxrs-spec-quarkus-mutiny/src/gen/java/org/openapitools/api/StoreApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public Response deleteOrder(@PathParam("order_id") @org.eclipse.microprofile.ope
9494
@org.eclipse.microprofile.openapi.annotations.media.Content(mediaType="application/json", schema = @org.eclipse.microprofile.openapi.annotations.media.Schema(implementation = Map.class))
9595
})
9696
})
97+
@io.quarkus.security.Authenticated
9798
public Response getInventory() {
9899
return Response.ok().entity("magic!").build();
99100
}

0 commit comments

Comments
 (0)