更新文档内容

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 SiteApiService
Testing SiteAPIService
*/
// 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_SiteApiService(t *testing.T) {
func Test_answer_sdk_SiteAPIService(t *testing.T) {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
t.Run("Test SiteApiService AnswerApiV1SiteinfoGet", func(t *testing.T) {
t.Run("Test SiteAPIService AnswerApiV1SiteinfoGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.SiteApi.AnswerApiV1SiteinfoGet(context.Background()).Execute()
resp, httpRes, err := apiClient.SiteAPI.AnswerApiV1SiteinfoGet(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
@@ -34,11 +33,11 @@ func Test_openapi_SiteApiService(t *testing.T) {
})
t.Run("Test SiteApiService AnswerApiV1SiteinfoLegalGet", func(t *testing.T) {
t.Run("Test SiteAPIService AnswerApiV1SiteinfoLegalGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.SiteApi.AnswerApiV1SiteinfoLegalGet(context.Background()).Execute()
resp, httpRes, err := apiClient.SiteAPI.AnswerApiV1SiteinfoLegalGet(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
@@ -46,11 +45,11 @@ func Test_openapi_SiteApiService(t *testing.T) {
})
t.Run("Test SiteApiService CustomCssGet", func(t *testing.T) {
t.Run("Test SiteAPIService CustomCssGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.SiteApi.CustomCssGet(context.Background()).Execute()
resp, httpRes, err := apiClient.SiteAPI.CustomCssGet(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
@@ -58,11 +57,11 @@ func Test_openapi_SiteApiService(t *testing.T) {
})
t.Run("Test SiteApiService RobotsTxtGet", func(t *testing.T) {
t.Run("Test SiteAPIService RobotsTxtGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.SiteApi.RobotsTxtGet(context.Background()).Execute()
resp, httpRes, err := apiClient.SiteAPI.RobotsTxtGet(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)