fix(components): fix rendering for empty examples in responses (#9926)

Refs #9499
This commit is contained in:
Oliwia Rogala
2024-05-10 13:42:33 +02:00
committed by GitHub
parent a99be53a84
commit 94f2d8298a
3 changed files with 43 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
openapi: 3.1.0
info:
title: TEST
description: TEST
version: '1.0'
servers:
- url: localhost:8080
tags:
- name: TEST
paths:
/test-endpoint:
get:
summary: Test
operationId: test
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
examples: {}
description: Test
tags:
- TEST