udpate openapi spec

This commit is contained in:
2026-08-04 15:28:33 +02:00
parent e4acb6918a
commit fa7835c7e6
32 changed files with 2946 additions and 229 deletions

View File

@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
[**AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet**](DebugItemsMaybeDontShowThisInUIAPI.md#AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet) | **Get** /api/v1/debug/addcard/{groupid}/{card_key} | Add Card Manually
[**AddCardManuallyApiV1DebugAddcardPut**](DebugItemsMaybeDontShowThisInUIAPI.md#AddCardManuallyApiV1DebugAddcardPut) | **Put** /api/v1/debug/addcard/ | Add Card Manually
[**ListAllCardsApiV1DebugGetcardsPut**](DebugItemsMaybeDontShowThisInUIAPI.md#ListAllCardsApiV1DebugGetcardsPut) | **Put** /api/v1/debug/getcards | List All Cards
[**RemoveCardManuallyApiV1DebugRmcardCardKeyGet**](DebugItemsMaybeDontShowThisInUIAPI.md#RemoveCardManuallyApiV1DebugRmcardCardKeyGet) | **Get** /api/v1/debug/rmcard/{card_key} | Remove Card Manually
[**RemoveCardManuallyApiV1DebugRmcardCardIdGet**](DebugItemsMaybeDontShowThisInUIAPI.md#RemoveCardManuallyApiV1DebugRmcardCardIdGet) | **Get** /api/v1/debug/rmcard/{card_id} | Remove Card Manually
## AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet
## AddCardManuallyApiV1DebugAddcardPut
> interface{} AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet(ctx, groupid, cardKey).Execute()
> interface{} AddCardManuallyApiV1DebugAddcardPut(ctx).Groupid(groupid).CardKey(cardKey).Name(name).Enabled(enabled).Execute()
Add Card Manually
@@ -33,37 +33,36 @@ import (
func main() {
groupid := int32(56) // int32 |
cardKey := "cardKey_example" // string |
name := "name_example" // string |
enabled := true // bool |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet(context.Background(), groupid, cardKey).Execute()
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardPut(context.Background()).Groupid(groupid).CardKey(cardKey).Name(name).Enabled(enabled).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet`: interface{}
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardGroupidCardKeyGet`: %v\n", resp)
// response from `AddCardManuallyApiV1DebugAddcardPut`: interface{}
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.AddCardManuallyApiV1DebugAddcardPut`: %v\n", resp)
}
```
### Path Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**groupid** | **int32** | |
**cardKey** | **string** | |
### Other Parameters
Other parameters are passed through a pointer to a apiAddCardManuallyApiV1DebugAddcardGroupidCardKeyGetRequest struct via the builder pattern
Other parameters are passed through a pointer to a apiAddCardManuallyApiV1DebugAddcardPutRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**groupid** | **int32** | |
**cardKey** | **string** | |
**name** | **string** | |
**enabled** | **bool** | |
### Return type
@@ -142,9 +141,9 @@ Other parameters are passed through a pointer to a apiListAllCardsApiV1DebugGetc
[[Back to README]](../README.md)
## RemoveCardManuallyApiV1DebugRmcardCardKeyGet
## RemoveCardManuallyApiV1DebugRmcardCardIdGet
> interface{} RemoveCardManuallyApiV1DebugRmcardCardKeyGet(ctx, cardKey).Execute()
> interface{} RemoveCardManuallyApiV1DebugRmcardCardIdGet(ctx, cardId).Execute()
Remove Card Manually
@@ -161,17 +160,17 @@ import (
)
func main() {
cardKey := "cardKey_example" // string |
cardId := "cardId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardKeyGet(context.Background(), cardKey).Execute()
resp, r, err := apiClient.DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardIdGet(context.Background(), cardId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardKeyGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Error when calling `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardIdGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RemoveCardManuallyApiV1DebugRmcardCardKeyGet`: interface{}
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardKeyGet`: %v\n", resp)
// response from `RemoveCardManuallyApiV1DebugRmcardCardIdGet`: interface{}
fmt.Fprintf(os.Stdout, "Response from `DebugItemsMaybeDontShowThisInUIAPI.RemoveCardManuallyApiV1DebugRmcardCardIdGet`: %v\n", resp)
}
```
@@ -181,11 +180,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**cardKey** | **string** | |
**cardId** | **string** | |
### Other Parameters
Other parameters are passed through a pointer to a apiRemoveCardManuallyApiV1DebugRmcardCardKeyGetRequest struct via the builder pattern
Other parameters are passed through a pointer to a apiRemoveCardManuallyApiV1DebugRmcardCardIdGetRequest struct via the builder pattern
Name | Type | Description | Notes