fix: empty ModelExample rendering in a Response w/o content (via #5504)

* add failing test

* use falsy notSetValue for oas3SchemaForContentType
This commit is contained in:
kyle
2019-07-29 22:15:19 -05:00
committed by GitHub
parent e895fb544f
commit 39f8ceba55
3 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
openapi: 3.0.2
info:
title: Response without a schema
version: 1.0.0
paths:
/foo:
get:
responses:
'200':
description: OK