Skip to content

Commit b2a8f09

Browse files
committed
fix typo in docs
1 parent 6e37451 commit b2a8f09

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

storagev2/apis/api_get_bucket_cors_rules.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (request *innerGetBucketCORSRulesRequest) getAccessKey(ctx context.Context)
4040
type GetBucketCORSRulesRequest = getbucketcorsrules.Request
4141
type GetBucketCORSRulesResponse = getbucketcorsrules.Response
4242

43-
// 设置空间的跨域规则
43+
// 获取空间的跨域规则
4444
func (storage *Storage) GetBucketCORSRules(ctx context.Context, request *GetBucketCORSRulesRequest, options *Options) (*GetBucketCORSRulesResponse, error) {
4545
if options == nil {
4646
options = &Options{}

storagev2/apis/get_bucket_cors_rules/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// THIS FILE IS GENERATED BY api-generator, DO NOT EDIT DIRECTLY!
22

3-
// 设置空间的跨域规则
3+
// 获取空间的跨域规则
44
package get_bucket_cors_rules
55

66
import (

storagev2/internal/api-generator/path.go

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ type (
2323
Documentation string `yaml:"documentation,omitempty"`
2424
Encode *EncodeType `yaml:"encode,omitempty"`
2525
ServiceBucket *ServiceBucketType `yaml:"service_bucket,omitempty"`
26+
ServiceObject *ServiceObjectType `yaml:"service_object,omitempty"`
2627
Optional *OptionalType `yaml:"optional,omitempty"`
2728
}
2829

storagev2/internal/api-generator/types.go

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ type (
1717
Idempotent string
1818
EncodeType string
1919
ServiceBucketType string
20+
ServiceObjectType string
2021
)
2122

2223
const (

0 commit comments

Comments
 (0)