diff --git a/api/src/main/java/org/eclipse/microprofile/openapi/models/Extensible.java b/api/src/main/java/org/eclipse/microprofile/openapi/models/Extensible.java index 2b7c4734..90da485d 100644 --- a/api/src/main/java/org/eclipse/microprofile/openapi/models/Extensible.java +++ b/api/src/main/java/org/eclipse/microprofile/openapi/models/Extensible.java @@ -82,6 +82,7 @@ default T extensions(Map extensions) { * @param name * the key used to access the extension object. Always prefixed by "x-". * @return {@code true} if an extension with the given name is present, otherwise {@code false} + * @since 4.1 */ default boolean hasExtension(String name) { Map map = getExtensions(); @@ -97,6 +98,7 @@ default boolean hasExtension(String name) { * @param name * the key used to access the extension object. Always prefixed by "x-". * @return the corresponding extension object, or {@code null} if no extension with the given name is present + * @since 4.1 */ default Object getExtension(String name) { Map map = getExtensions();