All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
SchemaRetrieve | Get /schema/ |
map[string]interface{} SchemaRetrieve(ctx).Format(format).Lang(lang).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
format := "format_example" // string | (optional)
lang := "lang_example" // string | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SchemaApi.SchemaRetrieve(context.Background()).Format(format).Lang(lang).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SchemaApi.SchemaRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SchemaRetrieve`: map[string]interface{}
fmt.Fprintf(os.Stdout, "Response from `SchemaApi.SchemaRetrieve`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiSchemaRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
format | string | ||
lang | string |
map[string]interface{}
- Content-Type: Not defined
- Accept: application/vnd.oai.openapi, application/yaml, application/vnd.oai.openapi+json, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]