From 3aa9b4e83f2e210777c69cfd6e2f71bb18484dae Mon Sep 17 00:00:00 2001 From: percivalalb Date: Mon, 17 Jun 2024 19:10:09 +0100 Subject: [PATCH] Move paragraph back to its correct section (#967) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6e910bb17..29ca3c04d 100644 --- a/README.md +++ b/README.md @@ -274,6 +274,8 @@ func safeErrorMessage(err *openapi3.SchemaError) string { } ``` +This will change the schema validation errors to return only the `Reason` field, which is guaranteed to not include the original value. + ## Reconciling component $ref types `ReferencesComponentInRootDocument` is a useful helper function to check if a component reference @@ -299,8 +301,6 @@ for _, path := range doc.Paths.InMatchingOrder() { } ``` -This will change the schema validation errors to return only the `Reason` field, which is guaranteed to not include the original value. - ## CHANGELOG: Sub-v1 breaking API changes ### v0.125.0