Skip to content

Commit 9120745

Browse files
Apply suggestions from code review
Co-authored-by: Andrew Rouse <[email protected]>
1 parent b147128 commit 9120745

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api/src/main/java/org/eclipse/microprofile/openapi/annotations/servers/ServerVariable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
/**
5454
* The default value of this server variable. This is a REQUIRED property.
5555
* <p>
56-
* If enumeration is set the default value MUST be one of the values in enumeration.
56+
* If {@code enumeration} is set the default value MUST be one of the values in {@code enumeration}.
5757
*
5858
* @return the default value of this server variable
5959
**/

api/src/main/java/org/eclipse/microprofile/openapi/models/servers/ServerVariable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ default ServerVariable enumeration(List<String> enumeration) {
105105
* The default value to use for substitution, and to send, if an alternate value is not supplied. This value MUST be
106106
* provided by the consumer and is REQUIRED.
107107
* <p>
108-
* If enumeration is set the default value MUST be one of the values in enumeration.
108+
* If {@code enumeration} is set the default value MUST be one of the values in {@code enumeration}.
109109
* <p>
110110
* This method sets the defaultValue property of ServerVariable instance to the given defaultValue argument.
111111
* </p>
@@ -119,7 +119,7 @@ default ServerVariable enumeration(List<String> enumeration) {
119119
* The default value to use for substitution, and to send, if an alternate value is not supplied. This value MUST be
120120
* provided by the consumer and is REQUIRED.
121121
* <p>
122-
* If enumeration is set the default value MUST be one of the values in enumeration.
122+
* If {@code enumeration} is set the default value MUST be one of the values in {@code enumeration}.
123123
* <p>
124124
* This method sets the defaultValue property of ServerVariable instance to the given defaultValue argument and
125125
* returns the modified instance.

0 commit comments

Comments
 (0)