From 8ebde104caa701fdacb5769e9f266fe8a6e4d788 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Fri, 19 Apr 2024 10:51:40 +0200 Subject: [PATCH] http: order absent fields first This makes the absent variants the default initialization for some implementations. --- schemas/http.prs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/http.prs b/schemas/http.prs index 236a477..a81bd34 100644 --- a/schemas/http.prs +++ b/schemas/http.prs @@ -31,8 +31,8 @@ HttpRequest = . -RequestBody = @present bytes / @absent #f . -RequestHost = @present string / @absent #f . +RequestBody = @absent #f / @present bytes . +RequestHost = @absent #f / @present string . # Assertion to handler entity HttpContext = .