Éditeur de fanfaronnade localement
docker pull swaggerapi/swagger-editor
docker run -d -p 80:8080 swaggerapi/swagger-editor
Exuberant Elephant
docker pull swaggerapi/swagger-editor
docker run -d -p 80:8080 swaggerapi/swagger-editor
[ Base URL: nodejs-eccormerce-backend.herokuapp.com/api/products ]
$ npm install swagger-ui-express
$ curl -I "https://petstore.swagger.io/v2/swagger.json"HTTP/1.1 200 OKDate: Sat, 31 Jan 2015 23:05:44 GMTAccess-Control-Allow-Origin: *Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCH, OPTIONSAccess-Control-Allow-Headers: Content-Type, api_key, AuthorizationContent-Type: application/jsonContent-Length: 0