更新文档内容

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,32 +1,31 @@
/*
answer
Testing CommentApiService
Testing CommentAPIService
*/
// 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_CommentApiService(t *testing.T) {
func Test_answer_sdk_CommentAPIService(t *testing.T) {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
t.Run("Test CommentApiService AnswerApiV1ActivityTimelineDetailGet", func(t *testing.T) {
t.Run("Test CommentAPIService AnswerApiV1ActivityTimelineDetailGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.CommentApi.AnswerApiV1ActivityTimelineDetailGet(context.Background()).Execute()
resp, httpRes, err := apiClient.CommentAPI.AnswerApiV1ActivityTimelineDetailGet(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
@@ -34,11 +33,11 @@ func Test_openapi_CommentApiService(t *testing.T) {
})
t.Run("Test CommentApiService AnswerApiV1ActivityTimelineGet", func(t *testing.T) {
t.Run("Test CommentAPIService AnswerApiV1ActivityTimelineGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.CommentApi.AnswerApiV1ActivityTimelineGet(context.Background()).Execute()
resp, httpRes, err := apiClient.CommentAPI.AnswerApiV1ActivityTimelineGet(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
@@ -46,11 +45,11 @@ func Test_openapi_CommentApiService(t *testing.T) {
})
t.Run("Test CommentApiService AnswerApiV1CommentDelete", func(t *testing.T) {
t.Run("Test CommentAPIService AnswerApiV1CommentDelete", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.CommentApi.AnswerApiV1CommentDelete(context.Background()).Execute()
resp, httpRes, err := apiClient.CommentAPI.AnswerApiV1CommentDelete(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
@@ -58,11 +57,11 @@ func Test_openapi_CommentApiService(t *testing.T) {
})
t.Run("Test CommentApiService AnswerApiV1CommentGet", func(t *testing.T) {
t.Run("Test CommentAPIService AnswerApiV1CommentGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.CommentApi.AnswerApiV1CommentGet(context.Background()).Execute()
resp, httpRes, err := apiClient.CommentAPI.AnswerApiV1CommentGet(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
@@ -70,11 +69,11 @@ func Test_openapi_CommentApiService(t *testing.T) {
})
t.Run("Test CommentApiService AnswerApiV1CommentPageGet", func(t *testing.T) {
t.Run("Test CommentAPIService AnswerApiV1CommentPageGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.CommentApi.AnswerApiV1CommentPageGet(context.Background()).Execute()
resp, httpRes, err := apiClient.CommentAPI.AnswerApiV1CommentPageGet(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
@@ -82,11 +81,11 @@ func Test_openapi_CommentApiService(t *testing.T) {
})
t.Run("Test CommentApiService AnswerApiV1CommentPost", func(t *testing.T) {
t.Run("Test CommentAPIService AnswerApiV1CommentPost", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.CommentApi.AnswerApiV1CommentPost(context.Background()).Execute()
resp, httpRes, err := apiClient.CommentAPI.AnswerApiV1CommentPost(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
@@ -94,11 +93,11 @@ func Test_openapi_CommentApiService(t *testing.T) {
})
t.Run("Test CommentApiService AnswerApiV1CommentPut", func(t *testing.T) {
t.Run("Test CommentAPIService AnswerApiV1CommentPut", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.CommentApi.AnswerApiV1CommentPut(context.Background()).Execute()
resp, httpRes, err := apiClient.CommentAPI.AnswerApiV1CommentPut(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
@@ -106,11 +105,11 @@ func Test_openapi_CommentApiService(t *testing.T) {
})
t.Run("Test CommentApiService AnswerApiV1PersonalCommentPageGet", func(t *testing.T) {
t.Run("Test CommentAPIService AnswerApiV1PersonalCommentPageGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.CommentApi.AnswerApiV1PersonalCommentPageGet(context.Background()).Execute()
resp, httpRes, err := apiClient.CommentAPI.AnswerApiV1PersonalCommentPageGet(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)