summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/api/swagger.yaml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-24 22:23:01 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-24 22:23:04 -0700
commit01a6c95f4efe357907681edc6ac6bd347017cf74 (patch)
tree0e7553d5d8d705d2b2d32d9e616e68052a6ed7ea /rust/fatcat-api/api/swagger.yaml
parent14efdf829f0a8deca7b2814090f9a1c1a243e59a (diff)
downloadfatcat-01a6c95f4efe357907681edc6ac6bd347017cf74.tar.gz
fatcat-01a6c95f4efe357907681edc6ac6bd347017cf74.zip
API schema: serde_json::Value
Unfortunately, this requires hacking model.rs manually. Might be able to partially mitigate with, eg, sed.
Diffstat (limited to 'rust/fatcat-api/api/swagger.yaml')
-rw-r--r--rust/fatcat-api/api/swagger.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/rust/fatcat-api/api/swagger.yaml b/rust/fatcat-api/api/swagger.yaml
index 8db937d4..487c0a4f 100644
--- a/rust/fatcat-api/api/swagger.yaml
+++ b/rust/fatcat-api/api/swagger.yaml
@@ -1298,11 +1298,8 @@ definitions:
type: "string"
extra:
type: "object"
- additionalProperties:
- type: "string"
example:
- extra:
- key: "extra"
+ extra: "{}"
description: "description"
editor_id: 6
id: 0