更新文档内容

This commit is contained in:
2023-08-22 10:37:28 +08:00
parent c3f06b456f
commit 73222eee28
329 changed files with 25366 additions and 2475 deletions

View File

@@ -0,0 +1,36 @@
/*
Testing PermissionApiService
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech);
package openapi
import (
"context"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func Test_openapi_PermissionApiService(t *testing.T) {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
t.Run("Test PermissionApiService AnswerApiV1PermissionGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.PermissionApi.AnswerApiV1PermissionGet(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
assert.Equal(t, 200, httpRes.StatusCode)
})
}