https://github.com/dexpro-solutions-gmbh/swaggerui
Gin handler to expose an OpenAPI spec via Swagger UI
https://github.com/dexpro-solutions-gmbh/swaggerui
golang http
Last synced: 6 months ago
JSON representation
Gin handler to expose an OpenAPI spec via Swagger UI
- Host: GitHub
- URL: https://github.com/dexpro-solutions-gmbh/swaggerui
- Owner: DEXPRO-Solutions-GmbH
- License: apache-2.0
- Created: 2023-07-04T19:44:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T08:39:55.000Z (over 1 year ago)
- Last Synced: 2024-12-02T09:37:17.277Z (over 1 year ago)
- Topics: golang, http
- Language: Go
- Homepage:
- Size: 4.49 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# SwaggerUI Handler For Gin
[](https://pkg.go.dev/github.com/DEXPRO-Solutions-GmbH/swaggerui)
[](https://goreportcard.com/report/github.com/DEXPRO-Solutions-GmbH/swaggerui)
This project implements a gin Handler which allows you to
expose your OpenAPI spec via SwaggerUI.
## Installing
```shell
go get github.com/DEXPRO-Solutions-GmbH/swaggerui
```
## Maintenance
### SwaggerUI upgrade
Every then and now we want to upgrade the builtin SwaggerUI.
Do do that, go to https://github.com/swagger-api/swagger-ui and download the latest release.
Unzip the `/dist` directory from that release and replace all contents of the local `/dist` directory.
Then, apply the git patch `patch-swagger-ui-initializer.patch`.