glideapps / glideapps/quicktype

USPTO API returned json from different caseIds generate different swift structures

Open
#1,584 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.9k
Forks
1.2k
Avg merge
8h 53m
Merged PRs (30d)
369

Description

[cooley.json.txt](https://github.com/quicktype/quicktype/files/5489720/cooley.json.txt)
[uspto.json.txt](https://github.com/quicktype/quicktype/files/5489722/uspto.json.txt)

I ran the "caseMultiStatus" api (https://developer.uspto.gov/swagger/tsdr-api-v1) for two different cases via curl. attached is the json (had to rename them to .txt to upload). Please look at both of the "Parties" structures that were generated. I have to swap the generated json to enable my iOS app to run w/o crashing, matching the caseId (i.e. there is no common generated swift file!).

i have contacted the USPTO's API HelpDesk to see what they suggest. Thanks for any help...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.