-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
| Q | A |
|---|---|
| Bug or feature request? | ¯\(ツ)/¯ |
| Which Swagger/OpenAPI version? | OAS3 |
| Which Swagger-Editor version? | 3.1.6 |
| How did you install Swagger-Editor? | - |
| Which broswer & version? | Chrome |
| Which operating system? | Windows |
Demonstration API definition
openapi: 3.0.0
info:
version: "validation"
title: Spec with both example and examples
paths:
/myPath:
get:
responses:
'200':
description: OK
content:
text/plain:
example: sample response
examples:
foo:
value: anonther responseExpected Behavior
One error message that states that I can't have both example and examples in paths['/myPath'].get.responses['200'].content['text/plain']
Current Behavior
Three error messages there neither one of them nails the error description.