mardi 21 février 2017

How to provide JSON data sample on PHP-Swagger

currently I'm using Laravel to create an API and Library DarkaOnline - L5 Swagger which based on PHP-Swagger to create the API Documentation.

My question is how to provide JSON data sample on the swagger?

Currently I can do the thing like this on parameter description: JSON data sample on Parameter Description But there's look so ugly and not to long and make the reader so confuse. Is there any best way to do this?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2llW920
via IFTTT

Aucun commentaire:

Enregistrer un commentaire