更新文档内容

This commit is contained in:
2023-09-26 16:20:01 +08:00
parent 73222eee28
commit d72897f080
415 changed files with 15785 additions and 17558 deletions

View File

@@ -1,44 +1,31 @@
/*
answer
Testing ReportApiService
Testing ReportAPIService
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech);
package openapi
package answer_sdk
import (
"context"
openapiclient "git.ncc.cx/package/openapi-go-answer"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
openapiclient "git.ncc.cx/package/openapi-go-answer"
)
func Test_openapi_ReportApiService(t *testing.T) {
func Test_answer_sdk_ReportAPIService(t *testing.T) {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
t.Run("Test ReportApiService AnswerApiV1ReportPost", func(t *testing.T) {
t.Run("Test ReportAPIService AnswerApiV1ReportPost", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.ReportApi.AnswerApiV1ReportPost(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
assert.Equal(t, 200, httpRes.StatusCode)
})
t.Run("Test ReportApiService AnswerApiV1ReportTypeListGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.ReportApi.AnswerApiV1ReportTypeListGet(context.Background()).Execute()
resp, httpRes, err := apiClient.ReportAPI.AnswerApiV1ReportPost(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)