From 6563fea08ceb1e98e086549fa1d06df8e34b8b75 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Thu, 24 Oct 2019 14:39:42 -0400 Subject: [PATCH] examples not supported inside schema --- versions/3.0.3.md | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/versions/3.0.3.md b/versions/3.0.3.md index 055bc9dd66..1d515775ea 100644 --- a/versions/3.0.3.md +++ b/versions/3.0.3.md @@ -1929,18 +1929,6 @@ validate compatibility automatically, and reject the example value(s) if incompa ##### Example Object Examples -In a model: - -```yaml -schemas: - properties: - name: - type: string - examples: - name: - $ref: http://example.org/petapi-examples/openapi.json#/components/examples/name-example -``` - In a request body: ```yaml @@ -1968,20 +1956,6 @@ requestBody: externalValue: 'http://foo.bar/examples/address-example.txt' ``` -In a parameter: - -```yaml -parameters: - - name: 'zipCode' - in: 'query' - schema: - type: 'string' - format: 'zip-code' - examples: - zip-example: - $ref: '#/components/examples/zip-example' -``` - In a response: ```yaml