更新文档内容
This commit is contained in:
@@ -1,32 +1,31 @@
|
||||
/*
|
||||
answer
|
||||
|
||||
Testing QuestionApiService
|
||||
Testing QuestionAPIService
|
||||
|
||||
*/
|
||||
|
||||
// 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_QuestionApiService(t *testing.T) {
|
||||
func Test_answer_sdk_QuestionAPIService(t *testing.T) {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1PersonalQaTopGet", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1PersonalQaTopGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1PersonalQaTopGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1PersonalQaTopGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -34,11 +33,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionAnswerPost", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionAnswerPost", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionAnswerPost(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionAnswerPost(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -46,11 +45,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionClosemsglistGet", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionDelete", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionClosemsglistGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionDelete(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -58,11 +57,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionDelete", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionInfoGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionDelete(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionInfoGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -70,11 +69,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionInfoGet", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionInviteGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionInfoGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionInviteGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -82,11 +81,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionOperationPut", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionInvitePut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionOperationPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionInvitePut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -94,11 +93,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionPageGet", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionOperationPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionPageGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionOperationPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -106,11 +105,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionPost", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionPageGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionPost(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionPageGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -118,11 +117,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionPut", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionPost", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionPost(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -130,11 +129,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionReopenPut", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionReopenPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -142,11 +141,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionSimilarGet", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionReopenPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionSimilarGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionReopenPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -154,11 +153,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionSimilarTagGet", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionSimilarGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionSimilarTagGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionSimilarGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -166,11 +165,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService AnswerApiV1QuestionStatusPut", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionSimilarTagGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.AnswerApiV1QuestionStatusPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionSimilarTagGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -178,11 +177,11 @@ func Test_openapi_QuestionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test QuestionApiService PersonalQuestionPageGet", func(t *testing.T) {
|
||||
t.Run("Test QuestionAPIService AnswerApiV1QuestionStatusPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.QuestionApi.PersonalQuestionPageGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.QuestionAPI.AnswerApiV1QuestionStatusPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
|
||||
Reference in New Issue
Block a user