Skip to content

Commit e6dd224

Browse files
authored
Merge pull request #694 from Azquelt/since-4.1
Add since tag to new methods on Extensible
2 parents 4973daf + 1a23010 commit e6dd224

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/src/main/java/org/eclipse/microprofile/openapi/models/Extensible.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ default T extensions(Map<String, Object> extensions) {
8282
* @param name
8383
* the key used to access the extension object. Always prefixed by "x-".
8484
* @return {@code true} if an extension with the given name is present, otherwise {@code false}
85+
* @since 4.1
8586
*/
8687
default boolean hasExtension(String name) {
8788
Map<String, Object> map = getExtensions();
@@ -97,6 +98,7 @@ default boolean hasExtension(String name) {
9798
* @param name
9899
* the key used to access the extension object. Always prefixed by "x-".
99100
* @return the corresponding extension object, or {@code null} if no extension with the given name is present
101+
* @since 4.1
100102
*/
101103
default Object getExtension(String name) {
102104
Map<String, Object> map = getExtensions();

0 commit comments

Comments
 (0)