-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Open
Description
Example Swagger/OpenAPI definition
openapi: 3.0.0
paths:
/:
post:
requestBody:
content:
image/png:
schema:
type: string
format: binary
examples:
KittenImage:
externalValue: "https://placekitten.com/200/300"
responses:
"200":
description: OK!
Current behavior
Expected behavior
I should be able to use the externally-referenced image as an example value for my endpoint (provided that Swagger UI is able to reach the resource).
Additional context or thoughts
membersound, hkosova, bfs-natewallman, wrightleft, mkormout and 12 more