temando / open-api-ui

[DEPRECATED] A visualiser for Open API definitions such as Swagger.
https://github.com/temando/open-api-renderer
MIT License
2 stars 3 forks source link

Remove 'Items' From Array Lists #35

Closed quangkhoa closed 7 years ago

quangkhoa commented 7 years ago

Can we please have Swagger remove the items keyword where it exists in any array lists?

In JSON schema this is meant to describe what value we need, but our renderer does not ignore this, and so it's confusing for anyone consuming our Swagger doco.

image-2017-02-14-12-57-09-745

This sample comes from POST /shipments.

http://canary-developers.temando.com.s3-website-us-east-1.amazonaws.com/definition-viewer/?url=https://s3.amazonaws.com/temando-swagger-registry-dmidwaffle-storage/swagger/temando-public-api.json#post-shipments