File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ python:
5656 customCasings :
5757 byok :
5858 initialism : true
59+ oauth :
60+ initialism : true
61+ scim :
62+ initialism : true
5963 stt :
6064 initialism : true
6165 tts :
Original file line number Diff line number Diff line change @@ -26274,6 +26274,7 @@ paths:
2627426274 summary: 'Exchange authorization code for API key'
2627526275 tags:
2627626276 - 'OAuth'
26277+ - o_auth
2627726278 parameters:
2627826279 - $ref: "#/components/parameters/AppIdentifier"
2627926280 - $ref: "#/components/parameters/AppDisplayName"
@@ -26457,6 +26458,7 @@ paths:
2645726458 summary: 'Create authorization code'
2645826459 tags:
2645926460 - 'OAuth'
26461+ - o_auth
2646026462 x-speakeasy-name-override: 'createAuthCode'
2646126463 parameters:
2646226464 - $ref: "#/components/parameters/AppIdentifier"
@@ -37848,6 +37850,9 @@ tags:
3784837850 - name: beta.responses
3784937851 deprecated: true
3785037852 description: Deprecated alias for responses endpoints. Use responses instead. Scheduled for removal (sunset date TBD).
37853+ - name: o_auth
37854+ deprecated: true
37855+ description: Deprecated alias for oauth endpoints. Use oauth instead. Scheduled for removal (sunset date TBD).
3785137856x-retry-strategy:
3785237857 initialDelay: 500
3785337858 maxAttempts: 3
Original file line number Diff line number Diff line change 1+ overlay : 1.0.0
2+ x-speakeasy-jsonpath : rfc9535
3+ info :
4+ title : Keep o_auth as a deprecated SDK alias for oauth
5+ version : 0.0.0
6+ actions :
7+ # Registering `oauth` as an initialism in gen.yaml renames the namespace from
8+ # client.o_auth to client.oauth. That attribute has been the only public name
9+ # for these operations since v1.0, so the old one stays as a deprecated alias
10+ # rather than breaking callers on a regen — same treatment beta.responses got.
11+ #
12+ # `update` appends to the existing tags list, so only the alias is listed here;
13+ # re-listing `OAuth` would duplicate the canonical tag.
14+ - target : $.paths["/auth/keys"].post
15+ description : Add o_auth as a second (deprecated) SDK namespace for the token exchange operation
16+ update :
17+ tags :
18+ - o_auth
19+ - target : $.paths["/auth/keys/code"].post
20+ description : Add o_auth as a second (deprecated) SDK namespace for the auth code operation
21+ update :
22+ tags :
23+ - o_auth
24+ # Defined here rather than edited into the input spec: the monorepo sdk-bot
25+ # overwrites in.openapi.yaml and carries no o_auth tag, so a filter-based edit
26+ # would silently match nothing and drop the deprecation notice.
27+ - target : $.tags
28+ description : Define the deprecated o_auth tag
29+ update :
30+ - name : o_auth
31+ deprecated : true
32+ description : Deprecated alias for oauth endpoints. Use oauth instead. Scheduled for removal (sunset date TBD).
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ sources:
1212 - location : .speakeasy/overlays/boolean-query-params.overlay.yaml
1313 - location : .speakeasy/overlays/fix-nullable-pagination.overlay.yaml
1414 - location : .speakeasy/overlays/deprecated-beta-responses-alias.overlay.yaml
15+ - location : .speakeasy/overlays/deprecated-o-auth-alias.overlay.yaml
1516 output : .speakeasy/out.openapi.yaml
1617 registry :
1718 location : registry.speakeasyapi.dev/openrouter/sdk/open-router-chat-completions-api
You can’t perform that action at this time.
0 commit comments