From 01a6c95f4efe357907681edc6ac6bd347017cf74 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 24 May 2018 22:23:01 -0700 Subject: API schema: serde_json::Value Unfortunately, this requires hacking model.rs manually. Might be able to partially mitigate with, eg, sed. --- rust/fatcat-api/api/swagger.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'rust/fatcat-api/api/swagger.yaml') 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 -- cgit v1.2.3