A simple web server for managing users
This server was generated by the [swagger-codegen]
(https://github.com/swagger-api/swagger-codegen) project.
By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.
To see how to make this your own, look here:
- API version: 1.0
- Build date: 2022-08-21T08:24:57.730Z[GMT]
To run the server, follow these simple steps:
pull the app-k8s folder
minikube start
kubectl create secret generic postgres-password --from-literal POSTGRES_PASSWORD=<password>
kubectl apply -f app-k8s
pull app-client then run inside:
go run main.go
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | AddUser | Post /api/users | Create a new user in the system |
DefaultApi | DeleteUser | Delete /api/users/{id} | Deletes a user from the system |
DefaultApi | FindUsers | Get /api/users | Retrieves all the users from the system |
Endpoints do not require authorization.