Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

alingse/swagger-yaml-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swagger-yaml-ui

swagger-ui with yaml support (we don't want to use swagger.json)

Usage

docker pull alingse/swagger-yaml-ui:latest

or

docker pull ghcr.io/alingse/swagger-yaml-ui:main

serve yaml file

docker run -p 0.0.0.0:80:8080/tcp -v `pwd`/example.yaml:/app/swagger.yaml alingse/swagger-yaml-ui:latest

or used in docker-compose.yaml

  swagger-yaml-ui:
    image: alingse/swagger-yaml-ui:latest
    container_name: "swagger-yaml-ui"
    volumes:
      - ./example.yaml:/app/swagger.yaml:ro
    environment:
      BASE_URL: "/swagger"
    ports:
      - "80:8080"

Dev

build

docker build . -t alingse/swagger-yaml-ui:latest

publish

docker push alingse/swagger-yaml-ui:latest

example yaml

see https://petstore.swagger.io/ and https://editor.swagger.io/

About

swagger-ui with yaml support, docker image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages