[httpapi] Discussion about JSON payloads and code generation

Christoph Kappestein <christoph.kappestein@gmail.com> Sat, 16 January 2021 13:14 UTC

Return-Path: <christoph.kappestein@gmail.com>
X-Original-To: httpapi@ietfa.amsl.com
Delivered-To: httpapi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BEACE3A1769 for <httpapi@ietfa.amsl.com>; Sat, 16 Jan 2021 05:14:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ADVHhqYhSz6U for <httpapi@ietfa.amsl.com>; Sat, 16 Jan 2021 05:14:24 -0800 (PST)
Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 407533A1768 for <httpapi@ietf.org>; Sat, 16 Jan 2021 05:14:24 -0800 (PST)
Received: by mail-lf1-x135.google.com with SMTP id m25so17278477lfc.11 for <httpapi@ietf.org>; Sat, 16 Jan 2021 05:14:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rva2F4eLFr4nZvB5AIXrbK9LTcppJcmI7G8+kgYpxLc=; b=QphzFD1OWq+ZdgAOHZtkeWiMYhuqWW2gUIumTejirBiQTOXI/46LDzdGNcGm0tqMl3 PWqNiv6KV0kbGrZO1kZG3BMmIWq5gZJqIZqDeZ7LJPDAzU9QylKDZkAGEqqUhYJ65D40 KSabIBpeXgZRsVW4FkXDIWD2UbBRzE4jDnqq2CrQAYVa3OjE27jyGkgBqp2gXK/kzUkr WGeIQT4cPZqHmmZNPCDEFCZLCS0pkBdTULskL1cY2OvJIHbAACjWo/27YdhL9xVpIIjs 9668Q8kJc/vixpFL3KPPhcgfHYUCEzxBl5Qd5FcTHvsdKFOq88gPgu/MLmUD1pw6iQ0R iZUA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rva2F4eLFr4nZvB5AIXrbK9LTcppJcmI7G8+kgYpxLc=; b=AN/QPb5s+8Fjh354v9sa/JjbIb+l7BnuUC+w1QBi4jG5TTf5WYjggwtGzHpamVzcC8 ywOwnPggmfhuvFs3BARerKt/sJISjWviRVhJVmbyZsuL3ElCQxZC27s7/tye/hhjBAmb 0Kk+E6I8OAbDc0NkM3HUwz1r0g3X//y2WQ9WATCGWRWOUWNHrJTbtc6BC7g3y2V4MdDX GFQzMxEVt87y+QCyi9evw9qvo1Z2lTrnRlvSpOEl8vn8GXqmfXyWekcC9/2TMbNWJM9A AtHsHO6UHVs90i3Amz0hEi9yh6kaspaGapCukcodWpeLZxm1YSMFWeRDVHGY57m1pUbI J0Ww==
X-Gm-Message-State: AOAM532440tFz1LNk1ZwWmZt7kCCQg3ij8F8wTpCRqLW/w8UyZyIKGcI +GpiAimVrKSax0LpKL/12KKApyIvIptl82y70MnRizS7pwc=
X-Google-Smtp-Source: ABdhPJyjtw3r8Wcm9TdcccuBH6kaB417OjK/3mSXEztvjUxjJPxSp6R64fFnNhcMF4IcPCoZrrvtlAMeHUH1SiEVShM=
X-Received: by 2002:a05:6512:287:: with SMTP id j7mr7932624lfp.541.1610802861676; Sat, 16 Jan 2021 05:14:21 -0800 (PST)
MIME-Version: 1.0
From: Christoph Kappestein <christoph.kappestein@gmail.com>
Date: Sat, 16 Jan 2021 14:14:19 +0100
Message-ID: <CALcRZn6-ojAAdJcMWFHef70Xp32O2iFatuw-YjGLKtr8VnbmYQ@mail.gmail.com>
To: httpapi@ietf.org
Content-Type: multipart/alternative; boundary="0000000000005f9b9d05b9044426"
Archived-At: <https://mailarchive.ietf.org/arch/msg/httpapi/lOopIiIlng9thj9HjJnCDgHtLnY>
Subject: [httpapi] Discussion about JSON payloads and code generation
X-BeenThere: httpapi@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Building Blocks for HTTP APIs <httpapi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/httpapi>, <mailto:httpapi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/httpapi/>
List-Post: <mailto:httpapi@ietf.org>
List-Help: <mailto:httpapi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/httpapi>, <mailto:httpapi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Jan 2021 13:14:26 -0000

Hi all,

I would like to gauge whether there is some interest in discussing ways to
describe JSON payloads with a focus on code generation on this WG. Also it
would be interesting to gather feedback from other developers who have
experiences in this space.

I have wrote some thoughts about this topic in a separate blog post, if you
are interested you can checkout the post at:
https://chriskapp.medium.com/discussion-about-json-payloads-and-code-generation-8d60bc8fd94e

Please let me know what you think.

best regards
Christoph