Perbaikan pembacaan data base
This commit is contained in:
@@ -230,13 +230,13 @@ After starting the server, visit:
|
||||
### CLI Command to Generate Swagger Documentation
|
||||
Generate Swagger documentation using the following command:
|
||||
```bash
|
||||
swag init -g cmd/api/main.go --output cmd/api/docs
|
||||
swag init -g cmd/api/main.go --output docs
|
||||
```
|
||||
|
||||
This command will:
|
||||
- Scan your Go source code for Swagger annotations
|
||||
- Generate OpenAPI 3.0 specification files
|
||||
- Create/update the documentation in `cmd/api/docs/` directory
|
||||
- Create/update the documentation in `docs/` directory
|
||||
- Include all API endpoints, models, and authentication details
|
||||
|
||||
Make sure to run this command whenever you add new endpoints or modify existing API documentation.
|
||||
|
||||
Reference in New Issue
Block a user