All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
GetSwaggerJson | Get /api/swagger.json | Get Swagger JSON |
GetSwaggerJson(ctx).Execute()
Get Swagger JSON
package main
import (
"context"
"fmt"
"os"
logto "github.com/mostafa/go-api-client"
)
func main() {
configuration := logto.NewConfiguration()
apiClient := logto.NewAPIClient(configuration)
r, err := apiClient.SwaggerJsonAPI.GetSwaggerJson(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SwaggerJsonAPI.GetSwaggerJson``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetSwaggerJsonRequest struct via the builder pattern
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]