neo4j-movies-template icon indicating copy to clipboard operation
neo4j-movies-template copied to clipboard

developer should be able to copy+paste cURL from swagger

Open whatSocks opened this issue 8 years ago • 0 comments

currently there are some line breaks and \ blocking harmonious workflow for some endpoints. For example of a bad one:

$ curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \
quote>    "username": "Mary Sue", \
quote>    "password": "SuperPassword" \
quote>  }' 'http://localhost:3000/api/v0/register'

whatSocks avatar Nov 15 '16 20:11 whatSocks