Skip to content

Commit c582b3d

Browse files
feat: feat(mcp_portals): enable sdks generation
1 parent 1505c81 commit c582b3d

File tree

7 files changed

+995
-1
lines changed

7 files changed

+995
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1827
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-cceecd20dfd89884f795e75b433848994bed610b79802c65104f0c70d3ada54e.yml
33
openapi_spec_hash: c33c0e26e48c004c1781a36748d0144c
4-
config_hash: 71cc832bd763dd1075077063c6fec004
4+
config_hash: 7e9a9c5842165e28e0901309e95ab577

api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5318,6 +5318,10 @@ Methods:
53185318

53195319
#### Mcp
53205320

5321+
##### Portals
5322+
5323+
##### Servers
5324+
53215325
### GatewayCA
53225326

53235327
Response Types:
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
package portals
4+
5+
import (
6+
"github.com/cloudflare/cloudflare-go/v6/option"
7+
)
8+
9+
// AccessAIControlMcpPortalService contains methods and other services that help
10+
// with interacting with the cloudflare API.
11+
//
12+
// Note, unlike clients, this service does not read variables from the environment
13+
// automatically. You should not instantiate this service directly, and instead use
14+
// the [NewAccessAIControlMcpPortalService] method instead.
15+
type AccessAIControlMcpPortalService struct {
16+
Options []option.RequestOption
17+
}
18+
19+
// NewAccessAIControlMcpPortalService generates a new service that applies the
20+
// given options to each request. These options are applied after the parent
21+
// client's options (if there is one), and before any request-specific options.
22+
func NewAccessAIControlMcpPortalService(opts ...option.RequestOption) (r *AccessAIControlMcpPortalService) {
23+
r = &AccessAIControlMcpPortalService{}
24+
r.Options = opts
25+
return
26+
}

0 commit comments

Comments
 (0)