Skip to content

sankamath/api-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Dockerfile: https://hub.docker.com/r/redocly/redoc/dockerfile

YAML examples: https://github.com/OAI/OpenAPI-Specification/tree/master/examples/v2.0/yaml

Serve remote spec by URL:

docker run -it --rm -p 80:80
-e SPEC_URL='http://localhost:8000/swaggers.yaml' redocly/redoc Serve local file:

docker run -it --rm -p 80:80
-v $(pwd)/api-example.yaml:/usr/share/nginx/html/swagger.yaml
-e SPEC_URL=swagger.yaml redocly/redoc Runtime configuration options PAGE_TITLE (default "ReDoc") - page title PAGE_FAVICON (default "favicon.png") - URL to page favicon SPEC_URL (default "http://petstore.swagger.io/v2/swagger.json") - URL to spec PORT (default 80) - nginx port REDOC_OPTIONS - tag attributes Build docker build -t redocly/redoc .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published