@@ -15,6 +15,7 @@ public class ChangedOperation implements ComposedChanged {
15
15
private PathItem .HttpMethod httpMethod ;
16
16
private ChangedMetadata summary ;
17
17
private ChangedMetadata description ;
18
+ private ChangedMetadata operationId ;
18
19
private boolean deprecated ;
19
20
private ChangedParameters parameters ;
20
21
private ChangedRequestBody requestBody ;
@@ -38,6 +39,7 @@ public List<Changed> getChangedElements() {
38
39
return Arrays .asList (
39
40
summary ,
40
41
description ,
42
+ operationId ,
41
43
parameters ,
42
44
requestBody ,
43
45
apiResponses ,
@@ -86,6 +88,10 @@ public ChangedMetadata getDescription() {
86
88
return this .description ;
87
89
}
88
90
91
+ public ChangedMetadata getOperationId () {
92
+ return this .operationId ;
93
+ }
94
+
89
95
public boolean isDeprecated () {
90
96
return this .deprecated ;
91
97
}
@@ -140,6 +146,11 @@ public ChangedOperation setDescription(final ChangedMetadata description) {
140
146
return this ;
141
147
}
142
148
149
+ public ChangedOperation setOperationId (final ChangedMetadata operationId ) {
150
+ this .operationId = operationId ;
151
+ return this ;
152
+ }
153
+
143
154
public ChangedOperation setDeprecated (final boolean deprecated ) {
144
155
this .deprecated = deprecated ;
145
156
return this ;
@@ -183,6 +194,7 @@ public boolean equals(Object o) {
183
194
&& httpMethod == that .httpMethod
184
195
&& Objects .equals (summary , that .summary )
185
196
&& Objects .equals (description , that .description )
197
+ && Objects .equals (operationId , that .operationId )
186
198
&& Objects .equals (parameters , that .parameters )
187
199
&& Objects .equals (requestBody , that .requestBody )
188
200
&& Objects .equals (apiResponses , that .apiResponses )
@@ -199,6 +211,7 @@ public int hashCode() {
199
211
httpMethod ,
200
212
summary ,
201
213
description ,
214
+ operationId ,
202
215
deprecated ,
203
216
parameters ,
204
217
requestBody ,
@@ -221,6 +234,8 @@ public java.lang.String toString() {
221
234
+ this .getSummary ()
222
235
+ ", description="
223
236
+ this .getDescription ()
237
+ + ", operationId="
238
+ + this .getOperationId ()
224
239
+ ", deprecated="
225
240
+ this .isDeprecated ()
226
241
+ ", parameters="
0 commit comments