Skip to content

Commit 2a0a6c8

Browse files
committed
Parameter Object with in:querystring can't have content and schema
1 parent b3b4233 commit 2a0a6c8

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
components:
6+
parameters:
7+
querystring-with-content-and-schema-not-allowed:
8+
in: querystring
9+
name: json
10+
content:
11+
application/json:
12+
schema:
13+
type: object
14+
schema:
15+
type: object
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
openapi: 3.2.0
2+
info:
3+
title: API
4+
version: 1.0.0
5+
components:
6+
parameters:
7+
querystring-with-content-and-schema-not-allowed:
8+
in: querystring
9+
name: json
10+
content:
11+
application/json:
12+
schema:
13+
type: object
14+
style: simple

0 commit comments

Comments
 (0)