-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27206 from MikeEdgar/sroai-2.2.0
Bump smallrye-open-api from 2.1.23 to 2.2.0
- Loading branch information
Showing
6 changed files
with
68 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...oyment/src/test/java/io/quarkus/smallrye/openapi/test/jaxrs/AutoTagFetchableResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package io.quarkus.smallrye.openapi.test.jaxrs; | ||
|
||
import java.util.List; | ||
|
||
import javax.ws.rs.GET; | ||
|
||
public abstract class AutoTagFetchableResource<T> implements AbstractAutoTagResource<T> { | ||
|
||
@GET | ||
abstract List<T> getAll(); | ||
|
||
@Override | ||
public T getById(long id) { | ||
return null; | ||
} | ||
} |
15 changes: 12 additions & 3 deletions
15
...napi/deployment/src/test/java/io/quarkus/smallrye/openapi/test/jaxrs/AutoTagResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
package io.quarkus.smallrye.openapi.test.jaxrs; | ||
|
||
import java.util.List; | ||
|
||
import javax.ws.rs.Path; | ||
|
||
@Path("/address") | ||
public class AutoTagResource implements AbstractAutoTagResource<String> { | ||
@Path("/tagged") | ||
public class AutoTagResource extends AutoTagFetchableResource<String> { | ||
|
||
@Override | ||
public String getById(long id) { | ||
return "Disney Land, Gate " + id; | ||
} | ||
} | ||
|
||
@Override | ||
public List<String> getAll() { | ||
return null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters