add godotenv, regenerate swagger docs
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
Music collection software for indexing bought (physical) albums. Build with Golang and Postgres
|
||||
|
||||
## Swagger
|
||||
The API documentation is available at `/swagger/index.html` after running the application. It provides details about the available endpoints, request/response formats, and other relevant information for developers to interact with the API effectively.
|
||||
The API documentation is available at [/api/v1/swagger/index.html](http://localhost:8080/api/v1/swagger/index.html) after running the application. It provides details about the available endpoints, request/response formats, and other relevant information for developers to interact with the API effectively.
|
||||
|
||||
Regenerate the docs with the following command in the /api/ folder:
|
||||
```
|
||||
$ go run github.com/swaggo/swag/cmd/swag@v1.16.4 init -g main.go -o docs
|
||||
go run github.com/swaggo/swag/cmd/swag@v1.16.4 init -g main.go -o docs
|
||||
```
|
||||
Reference in New Issue
Block a user