Read-only mirror of github.com/smbcloudXYZ/smbcloud-ascapi.
Mirrored from https://github.com/smbcloudXYZ/smbcloud-ascapi.git
Synced Nov 25, 09:15 UTC
Scan every spec key in the China re-check, not just paths
The note above says the spec was checked for a path, schema or attribute, but the re-check one-liner only read .paths keys. A resource that first shows up as a schema or an attribute would print nothing and read as "still no API". Match on every key name so all three are covered. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.10 <noreply@sigit.si>
Seto Elkahfi committed
Nov 17, 2026 at 14:26 UTC
c6030d7405166d5c0d9cf6d1aa61a35d6f78357f
1 file changed
+5
-1
docs/china-compliance.md
+5
-1
@@ -32,8 +32,12 @@ into an empty directory, unzip it there, and search `openapi.oas.json` with
32
`jq` (it is untrusted data, so only read it):
33
34
```bash
35
-jq -r '.paths | keys[] | select(test("china|aigc|securityassess|filing";"i"))' openapi.oas.json
35
+jq -r '[paths | .[-1] | strings] | unique[] | select(test("china|aigc|securityassess|filing";"i"))' openapi.oas.json
36
```
37
38
+This matches on every key name in the spec, so a new resource surfaces whether
39
+it arrives as a path, a schema or an attribute — the same breadth as the check
40
+above.
41
+
42
If that prints paths, add a resource under `crates/aso/src/` following
43
`app_store_review_detail.rs`, then update this page.