-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathoverlay-title.yaml
More file actions
23 lines (23 loc) · 1.32 KB
/
overlay-title.yaml
File metadata and controls
23 lines (23 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
overlay: 1.0.0
x-speakeasy-jsonpath: rfc9535
info:
title: Update spec title to "Vercel SDK"
version: 0.0.2
actions:
# Update info
- target: $.info
update:
description: The [`@vercel/sdk`](https://www.npmjs.com/package/@vercel/sdk) is a type-safe Typescript SDK that allows you to access the resources and methods of the Vercel REST API. Learn how to [install it](https://vercel.com/docs/rest-api/sdk#installing-vercel-sdk) and [authenticate](https://vercel.com/docs/rest-api/sdk#authentication) with a Vercel access token.
title: Vercel REST API & SDK
# Disable test for runCommand — mock server returns 405
- target: $.paths['/v1/sandboxes/{sandboxId}/cmd'].post
update:
x-speakeasy-test: false
# Fix updateFlagSegment mock server codegen name collision: the response
# oneOf has an inline Segment definition AND a $ref to components/Segment,
# producing duplicate Go types. Replace redundant oneOf with direct $ref.
- target: $.paths['/v1/projects/{projectIdOrName}/feature-flags/segments/{segmentIdOrSlug}'].patch.responses['200'].content['application/json'].schema.oneOf
remove: true
- target: $.paths['/v1/projects/{projectIdOrName}/feature-flags/segments/{segmentIdOrSlug}'].patch.responses['200'].content['application/json'].schema
update:
$ref: '#/components/schemas/Segment'