From bda51648af3872503ab0df849f81c7b15d67ad3a Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Fri, 24 Oct 2025 11:46:49 +0200 Subject: [PATCH] Fixes https://github.com/OAI/learn.openapis.org/issues/97 --- examples/v3.0/callback-example.yaml | 1 + examples/v3.0/uspto.yaml | 4 ++-- examples/v3.1/webhook-example.yaml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/v3.0/callback-example.yaml b/examples/v3.0/callback-example.yaml index 262b8df..6cc8c38 100644 --- a/examples/v3.0/callback-example.yaml +++ b/examples/v3.0/callback-example.yaml @@ -23,6 +23,7 @@ paths: content: application/json: schema: + type: object description: subscription information required: - subscriptionId diff --git a/examples/v3.0/uspto.yaml b/examples/v3.0/uspto.yaml index 9187113..ab87806 100644 --- a/examples/v3.0/uspto.yaml +++ b/examples/v3.0/uspto.yaml @@ -202,9 +202,9 @@ components: description: To be used as a version parameter value apiUrl: type: string - format: uriref + format: uri-reference description: The URL describing the dataset's fields apiDocumentationUrl: type: string - format: uriref + format: uri-reference description: A URL to the API console for each API diff --git a/examples/v3.1/webhook-example.yaml b/examples/v3.1/webhook-example.yaml index 9d69684..4c08cf9 100644 --- a/examples/v3.1/webhook-example.yaml +++ b/examples/v3.1/webhook-example.yaml @@ -20,6 +20,7 @@ webhooks: components: schemas: Pet: + type: object required: - id - name