diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-05-12 15:35:06 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-05-12 15:37:29 -0400 |
| commit | 9010ebe8a581fb9db7bc6e97d40ff062fb18495f (patch) | |
| tree | 4301a455762a59d4951507c8a8781e99c6f91c6d /notes | |
| parent | 329257be8d9fb05d3dcea49823acea0f878ed52c (diff) | |
| download | lulu-9010ebe8a581fb9db7bc6e97d40ff062fb18495f.zip | |
unmarshal GET /print-jobs response
Diffstat (limited to 'notes')
| -rw-r--r-- | notes | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -9,3 +9,12 @@ real response did not; thus "fees" is included in the testdata. The real response had "first_name" and "last_name" rather than just "name", so ShippingAddress has a custom UnmarshalJSON() function to account for both. And so on... + + +-- Print Jobs -- + +I made some corrections to testdata/getprintjobsresp.json. These +include changing "source_md5sum" to "source_md5_sum" and changing the +postcode field from integer to string, etc., as per the schema. It +remains to be seen if the errors are just in the documentation example +or if they (sometimes) appear in real server responses too... |