For more information about this image and the functionality it provides, please see the swagger-codegen GitHub repository.
Expose port 8080 from the image and load the swagger-ui on the exposed port. You can then access the web service directly from the swagger-ui or via API.
docker pull swaggerapi/swagger-generator # be sure to set the GENERATOR_HOST based on the IP address of your server! docker run -d -e GENERATOR_HOST=http://192.168.99.100 -p 80:8080 swaggerapi/swagger-generator
You can now open swagger-ui on your machine via 80: