Skip to main content
Microsoft
separator
https://catalogartifact.azureedge.net/publicartifacts/cloudimg1647283583153.swagger-ui-ubuntu-24-04-85d6e40a-3b59-4e98-adb7-37a7513293a3/image1_logolarge.png

Swagger UI on Ubuntu 24.04 LTS

by cloudimg

Swagger UI self hosted: an interactive OpenAPI and Swagger API documentation renderer, secured by default with per VM HTTP Basic Auth on Ubuntu 24.04

Swagger UI is the open source, interactive renderer that turns an OpenAPI or Swagger definition into a clean, browsable API reference. It reads your definition in JSON or YAML and lays out every endpoint, parameter, request body and response model, with example values, and lets developers try requests directly from the page. It gives teams and API consumers a single, self hosted place to explore and understand a service. A self contained Swagger Petstore demo definition ships in the image so the documentation renders out of the box; you replace one file to document your own service.

This cloudimg image serves the official swagger-ui-dist v5.32.11 distribution, which is the prebuilt, ready to serve build of Swagger UI and the exact content the official Swagger UI container serves. The distribution is pinned by exact version and verified against a checksum at build time, and the upstream Apache 2.0 licence and notice are vendored into the served root. nginx terminates HTTPS on port 443 with a certificate generated uniquely per virtual machine on first boot, port 80 redirects to HTTPS, and an unauthenticated health endpoint is provided for load balancer probes.

The appliance is secure by default. Unlike a plain static bundle, the documentation interface is never exposed unauthenticated: nginx fronts it with HTTP Basic Auth, and the password is generated uniquely per virtual machine on first boot and written to a root only file. Before that password exists the interface is fail closed, so the docs are never open to the world. The external spec validator is disabled so the browser makes no third party calls, which makes the image ready for fully offline or air gapped networks. Restricting inbound access with your network security group is still recommended as defence in depth; the paired deployment guide shows how, and how to bring your own TLS certificate and API definition.

Swagger UI is free and open source under the Apache License 2.0. cloudimg provides 24/7 commercial support with a guaranteed 24 hour response SLA, separate from the upstream project, and the cloudimg charge covers packaging, security patching, image maintenance and support.

At a glance

https://catalogartifact.azureedge.net/publicartifacts/cloudimg1647283583153.swagger-ui-ubuntu-24-04-85d6e40a-3b59-4e98-adb7-37a7513293a3/image6_screenshot01.png
https://catalogartifact.azureedge.net/publicartifacts/cloudimg1647283583153.swagger-ui-ubuntu-24-04-85d6e40a-3b59-4e98-adb7-37a7513293a3/image2_screenshot02.png
https://catalogartifact.azureedge.net/publicartifacts/cloudimg1647283583153.swagger-ui-ubuntu-24-04-85d6e40a-3b59-4e98-adb7-37a7513293a3/image0_screenshot03.png
https://catalogartifact.azureedge.net/publicartifacts/cloudimg1647283583153.swagger-ui-ubuntu-24-04-85d6e40a-3b59-4e98-adb7-37a7513293a3/image7_screenshot04.png
English (United States)
Your Privacy Choices Opt-Out Icon Your Privacy Choices
Consumer Health Privacy Sitemap Contact Us Privacy & Cookies Terms of Use About our ads Manage cookies