Skip to content

Commit 734baa7

Browse files
committed
add operation Id
1 parent 6e44fdd commit 734baa7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

resources/contoso-store-api-swagger.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"paths": {
1313
"/api/bikes": {
1414
"get": {
15+
"operationId": "getBikes",
1516
"tags": [
1617
"Store"
1718
],
@@ -24,6 +25,7 @@
2425
},
2526
"/api/bikes/{id}": {
2627
"get": {
28+
"operationId": "getBikeById",
2729
"tags": [
2830
"Store"
2931
],
@@ -47,6 +49,7 @@
4749
},
4850
"/api/orders": {
4951
"post": {
52+
"operationId": "createOrder",
5053
"tags": [
5154
"Store"
5255
],
@@ -78,6 +81,7 @@
7881
},
7982
"/api/orders/{orderId}": {
8083
"get": {
84+
"operationId": "getOrderById",
8185
"tags": [
8286
"Store"
8387
],

0 commit comments

Comments
 (0)