Skip to content

Commit d9a862f

Browse files
operationId in the link object is a string
https://spec.openapis.org/oas/v3.1.0#fixed-fields-16
1 parent aa91a19 commit d9a862f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

schemas/v3.1/schema.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,9 @@
936936
"type": "string",
937937
"format": "uri-reference"
938938
},
939-
"operationId": true,
939+
"operationId": {
940+
"type": "string"
941+
},
940942
"parameters": {
941943
"$ref": "#/$defs/map-of-strings"
942944
},

schemas/v3.1/schema.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,8 @@ $defs:
646646
operationRef:
647647
type: string
648648
format: uri-reference
649-
operationId: true
649+
operationId:
650+
type: string
650651
parameters:
651652
$ref: '#/$defs/map-of-strings'
652653
requestBody: true

0 commit comments

Comments
 (0)