-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfixes.yaml
45 lines (43 loc) · 1.77 KB
/
fixes.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
overlay: 1.0.0
info:
title: Overlay bluesky_orig.yaml => bluesky.yaml
version: 0.0.0
actions:
- target: $.servers
update:
- url: https://api.bsky.app
description: Bluesky API
- target: >-
$.paths.*.*[?(
@.operationId == "com.atproto.server.confirmEmail" ||
@.operationId == "com.atproto.server.deleteAccount" ||
@.operationId == "com.atproto.server.resetPassword" ||
@.operationId == "com.atproto.server.updateEmail"
)].responses["400"].content["application/json"].schema.properties.error.enum[?(@ == "InvalidToken")]
remove: true
- target: >-
$.paths.*.*[?(
@.operationId == "com.atproto.server.confirmEmail" ||
@.operationId == "com.atproto.server.deleteAccount" ||
@.operationId == "com.atproto.server.resetPassword" ||
@.operationId == "com.atproto.server.updateEmail"
)].responses["400"].content["application/json"].schema.properties.error.enum
update:
- InvalidToken
- target: >-
$.paths.*.*[?(
@.operationId == "com.atproto.server.confirmEmail" ||
@.operationId == "com.atproto.server.deleteAccount" ||
@.operationId == "com.atproto.server.resetPassword" ||
@.operationId == "com.atproto.server.updateEmail"
)].responses["400"].content["application/json"].schema.properties.error.enum[?(@ == "ExpiredToken")]
remove: true
- target: >-
$.paths.*.*[?(
@.operationId == "com.atproto.server.confirmEmail" ||
@.operationId == "com.atproto.server.deleteAccount" ||
@.operationId == "com.atproto.server.resetPassword" ||
@.operationId == "com.atproto.server.updateEmail"
)].responses["400"].content["application/json"].schema.properties.error.enum
update:
- ExpiredToken