11# example v0.0.1 9814b024890e4f9bf0fb6406686c29bcc402b24a
22# --
3- # Code generated by webrpc-gen@v0.25 .0 with ../ generator; DO NOT EDIT
3+ # Code generated by webrpc-gen@v0.31 .0 with ../ generator; DO NOT EDIT
44#
55# webrpc-gen -schema=./proto.ridl -target=../ -out=./openapi.gen.yaml -title=Example webrpc API -apiVersion=v22.11.8 -serverUrl=https://api.example.com -serverDescription=Production -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests', 'name': 'X-Access-Key' }, 'ServiceAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests', 'name': 'X-Access-Key' } }
6- openapi : 3.0 .0
6+ openapi : 3.2 .0
77info :
88 title : ' Example webrpc API'
99 version : ' v22.11.8'
@@ -189,7 +189,7 @@ components:
189189 status :
190190 type : number
191191 example : 500
192- ErrorWebrpcClientDisconnected :
192+ ErrorWebrpcClientAborted :
193193 type : object
194194 required :
195195 - error
@@ -199,13 +199,13 @@ components:
199199 properties :
200200 error :
201201 type : string
202- example : " WebrpcClientDisconnected "
202+ example : " WebrpcClientAborted "
203203 code :
204204 type : number
205205 example : -8
206206 msg :
207207 type : string
208- example : " client disconnected "
208+ example : " request aborted by client "
209209 cause :
210210 type : string
211211 status :
@@ -528,7 +528,7 @@ paths:
528528 - $ref : ' #/components/schemas/ErrorWebrpcBadRoute'
529529 - $ref : ' #/components/schemas/ErrorWebrpcBadMethod'
530530 - $ref : ' #/components/schemas/ErrorWebrpcBadRequest'
531- - $ref : ' #/components/schemas/ErrorWebrpcClientDisconnected '
531+ - $ref : ' #/components/schemas/ErrorWebrpcClientAborted '
532532 - $ref : ' #/components/schemas/ErrorWebrpcStreamLost'
533533 - $ref : ' #/components/schemas/ErrorRateLimited'
534534 ' 5XX ' :
@@ -572,7 +572,7 @@ paths:
572572 - $ref : ' #/components/schemas/ErrorWebrpcBadRoute'
573573 - $ref : ' #/components/schemas/ErrorWebrpcBadMethod'
574574 - $ref : ' #/components/schemas/ErrorWebrpcBadRequest'
575- - $ref : ' #/components/schemas/ErrorWebrpcClientDisconnected '
575+ - $ref : ' #/components/schemas/ErrorWebrpcClientAborted '
576576 - $ref : ' #/components/schemas/ErrorWebrpcStreamLost'
577577 - $ref : ' #/components/schemas/ErrorRateLimited'
578578 ' 5XX ' :
@@ -617,7 +617,7 @@ paths:
617617 - $ref : ' #/components/schemas/ErrorWebrpcBadRoute'
618618 - $ref : ' #/components/schemas/ErrorWebrpcBadMethod'
619619 - $ref : ' #/components/schemas/ErrorWebrpcBadRequest'
620- - $ref : ' #/components/schemas/ErrorWebrpcClientDisconnected '
620+ - $ref : ' #/components/schemas/ErrorWebrpcClientAborted '
621621 - $ref : ' #/components/schemas/ErrorWebrpcStreamLost'
622622 - $ref : ' #/components/schemas/ErrorRateLimited'
623623 ' 5XX ' :
@@ -665,7 +665,7 @@ paths:
665665 - $ref : ' #/components/schemas/ErrorWebrpcBadRoute'
666666 - $ref : ' #/components/schemas/ErrorWebrpcBadMethod'
667667 - $ref : ' #/components/schemas/ErrorWebrpcBadRequest'
668- - $ref : ' #/components/schemas/ErrorWebrpcClientDisconnected '
668+ - $ref : ' #/components/schemas/ErrorWebrpcClientAborted '
669669 - $ref : ' #/components/schemas/ErrorWebrpcStreamLost'
670670 - $ref : ' #/components/schemas/ErrorRateLimited'
671671 ' 5XX ' :
@@ -708,7 +708,7 @@ paths:
708708 - $ref : ' #/components/schemas/ErrorWebrpcBadRoute'
709709 - $ref : ' #/components/schemas/ErrorWebrpcBadMethod'
710710 - $ref : ' #/components/schemas/ErrorWebrpcBadRequest'
711- - $ref : ' #/components/schemas/ErrorWebrpcClientDisconnected '
711+ - $ref : ' #/components/schemas/ErrorWebrpcClientAborted '
712712 - $ref : ' #/components/schemas/ErrorWebrpcStreamLost'
713713 - $ref : ' #/components/schemas/ErrorRateLimited'
714714 ' 5XX ' :
@@ -749,7 +749,7 @@ paths:
749749 - $ref : ' #/components/schemas/ErrorWebrpcBadRoute'
750750 - $ref : ' #/components/schemas/ErrorWebrpcBadMethod'
751751 - $ref : ' #/components/schemas/ErrorWebrpcBadRequest'
752- - $ref : ' #/components/schemas/ErrorWebrpcClientDisconnected '
752+ - $ref : ' #/components/schemas/ErrorWebrpcClientAborted '
753753 - $ref : ' #/components/schemas/ErrorWebrpcStreamLost'
754754 - $ref : ' #/components/schemas/ErrorRateLimited'
755755 ' 5XX ' :
@@ -790,7 +790,7 @@ paths:
790790 - $ref : ' #/components/schemas/ErrorWebrpcBadRoute'
791791 - $ref : ' #/components/schemas/ErrorWebrpcBadMethod'
792792 - $ref : ' #/components/schemas/ErrorWebrpcBadRequest'
793- - $ref : ' #/components/schemas/ErrorWebrpcClientDisconnected '
793+ - $ref : ' #/components/schemas/ErrorWebrpcClientAborted '
794794 - $ref : ' #/components/schemas/ErrorWebrpcStreamLost'
795795 - $ref : ' #/components/schemas/ErrorRateLimited'
796796 ' 5XX ' :
@@ -833,7 +833,7 @@ paths:
833833 - $ref : ' #/components/schemas/ErrorWebrpcBadRoute'
834834 - $ref : ' #/components/schemas/ErrorWebrpcBadMethod'
835835 - $ref : ' #/components/schemas/ErrorWebrpcBadRequest'
836- - $ref : ' #/components/schemas/ErrorWebrpcClientDisconnected '
836+ - $ref : ' #/components/schemas/ErrorWebrpcClientAborted '
837837 - $ref : ' #/components/schemas/ErrorWebrpcStreamLost'
838838 - $ref : ' #/components/schemas/ErrorRateLimited'
839839 ' 5XX ' :
0 commit comments