command
Version:
v0.0.0-...-b25fcf9
Opens a new window with list of versions in this module.
Published: Mar 8, 2025
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Go Swagger + Swagger UI + CORS
Tested using
go 1.10
dep v0.4.1
docker 18.06.0-ce-mac70 (26399)
dep
go-swagger
Swagger UI
docker run --rm -d -p 8080:8080 -e API_URL=http://localhost:8000/swagger.json swaggerapi/swagger-ui:3.17.5
- Open
http://localhost:8080/
- Click explore
Documentation
¶
Package main Provides all Users APIs.
HTTP APIs used as an example
Schemes: http, https
Host: localhost:8000
BasePath: /
Version: 1.0.0
Contact: info@carrion.ws
Consumes:
- application/json
Produces:
- application/json
swagger:meta
Source Files
¶
Click to show internal directories.
Click to hide internal directories.