fix: OAS3 array item value input (#4729)

* fix: OAS3 array item value input
* linter fixes
This commit is contained in:
kyle
2018-07-14 02:12:00 -04:00
committed by GitHub
parent e70a054bd4
commit bbbd1b93cb
3 changed files with 96 additions and 13 deletions

View File

@@ -0,0 +1,35 @@
openapi: '3.0.0'
info:
description: >-
Repro API
title: Repro API
version: '1.0'
paths:
/test:
get:
summary: Test get
parameters:
- name: fields
in: query
required: false
explode: false
schema:
type: array
items:
type: string
style: form
example:
- friends
- family
responses:
200:
description: Success!
content:
application/json:
schema:
type: object
properties:
id:
type: integer
name:
type: string