-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoverlay.yaml
39 lines (39 loc) · 1.08 KB
/
overlay.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
overlay: 1.0.0
info:
title: Naming Overlay
version: 0.0.0
actions:
- target: $.info
update:
title: Speakeasy Code Samples API
description: >
REST APIs for retrieving SDK usage snippets from the Speakeasy Code
Samples API.
- target: $['x-speakeasy-globals']['parameters']
remove: true
- target: $['x-speakeasy-globals']
update:
parameters:
- name: registry_url
description: The registry URL from which to retrieve the snippets.
example: https://spec.speakeasy.com/org/ws/my-source
in: query
required: true
schema:
type: string
- target: $["security"][*]
remove: true
- target: $["security"]
update:
- APIKey: []
- target: $..tags
remove: true
- target: $["components"]["securitySchemes"]["WorkspaceIdentifier"]
remove: true
- target: $["components"]["securitySchemes"]["Bearer"]
remove: true
- target: $["paths"]["/v1/code_sample"]["get"]
update:
x-speakeasy-group: codeSamples
x-speakeasy-react-hook:
name: CodeSamples