File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
api/src/main/java/org/eclipse/microprofile/openapi/models Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments