Sign inSign up

markuskarileet/swagger-ui

By markuskarileet

•Updated over 7 years ago

Swagger UI index for all your API specs

Image
0

201

markuskarileet/swagger-ui repository overview

⁠Swagger UI index

Generate Swagger UI index application to make all your API specs accessible from one location

⁠Example

Create application configuration that has the developer metadata and all the endpoints defined

api:
  endpoints:
    endpoint-name: http://url/api-docs
    another-endpoint-name: http://another/api-docs
meta:
  title: Swagger UI index
  description: Swagger UI index
  licence: http://www.apache.org/licenses/LICENSE-2.0.html
  licenceUrl: http://www.apache.org/licenses/LICENSE-2.0.html
  tosUrl: https://www.termsfeed.com/terms-service-generator/
  version: 1.0.0
contact:
  name: Markus Karileet
  url: https://helmes.com
  email: [email protected]

Create docker compose file that mounts the configuration file in the image and expose the port

version: '3'
services:
  swagger-ui:
    image: markuskarileet/swagger-ui
    volumes:
    - ./application.yml:/app/application.yml
    ports:
    - 8888:8888

⁠Github

https://github.com/Shmarkus/swagger-ui-index⁠

Tag summary

Content type

Image

Digest

Size

91.9 MB

Last updated

over 7 years ago

docker pull markuskarileet/swagger-ui