Skip to content

Commit befeedd

Browse files
authored
Merge branch 'main' into compare/ts
2 parents fce2f0f + 08a487c commit befeedd

File tree

7 files changed

+95
-30
lines changed

7 files changed

+95
-30
lines changed

_meta.global.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ const meta = {
3737
*/
3838
"managed-mcp-section": {
3939
type: "separator",
40-
title: <SidebarSeparator>{"Gram (Hosted MCP)"}</SidebarSeparator>,
40+
title: <SidebarSeparator>{"Gram (MCP Cloud)"}</SidebarSeparator>,
4141
},
4242
gram: {
43-
title: "Gram (hosted MCP platform)",
43+
title: "Gram (MCP Cloud)",
4444
display: "children",
4545
items: {
4646
introduction: {
@@ -136,7 +136,7 @@ const meta = {
136136
},
137137
},
138138
clients: {
139-
title: "Integration guides",
139+
title: "MCP Clients",
140140
items: {
141141
"using-chatgpt-developer-mode-with-gram": {
142142
title: "ChatGPT Developer mode",

docs/create-client-sdks.mdx

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,14 @@ import { supportedLanguages } from "@/lib/data/docs/languages";
1818

1919
This page documents using the Speakeasy CLI to generate SDKs from OpenAPI / Swagger specs.
2020

21-
For a more UI-based experience, use the Speakeasy Sandbox:
21+
For a more UI-based experience, use the Speakeasy app:
2222

2323
<div className="bsmnt-container-sm my-4 w-full">
24-
<Button variant="rainbow" href="https://sandbox.speakeasy.com">
25-
Launch Sandbox
24+
<Button variant="rainbow" href="https://app.speakeasy.com/editor/onboarding">
25+
Launch Editor
2626
</Button>
2727
</div>
2828

29-
## Sign up for Speakeasy
30-
31-
First sign up for a free Speakeasy account at [https://app.speakeasy.com](https://app.speakeasy.com).
32-
33-
New accounts start with a 14 day free trial of Speakeasy's business tier, to enable users to try out every SDK generation feature. At the end of the trial, accounts will revert to the free tier. No credit card is required.
34-
35-
Free accounts can continue to generate one SDK with up to 50 API methods free of charge.
36-
37-
---
38-
3929
## Install the Speakeasy CLI
4030

4131
After signing up, install the Speakeasy CLI using one of the following methods:
@@ -77,11 +67,17 @@ For first-time SDK generation, run `speakeasy quickstart`.
7767
speakeasy quickstart
7868
```
7969

70+
### Authentication & account creation
71+
8072
The CLI will prompt for authentication with a Speakeasy account. A browser window will open to select a workspace to associate with the CLI. Workspaces can be changed later if required.
8173

82-
---
74+
If you've not previously signed up for an account, you will be prompted to create one.
8375

84-
## Upload an OpenAPI document
76+
New accounts start with a 14 day free trial of Speakeasy's business tier, to enable users to try out every SDK generation feature. At the end of the trial, accounts will revert to the free tier. No credit card is required.
77+
78+
Free accounts can continue to generate one SDK with up to 50 API methods free of charge. Please refer to the pricing page for update information on each [pricing tier](https://www.speakeasy.com/pricing).
79+
80+
### Upload an OpenAPI document
8581

8682
After authentication, the system prompts for an OpenAPI document:
8783

@@ -115,14 +111,10 @@ Provide either a link to a remote hosted OpenAPI document, or a relative path to
115111

116112
</Callout>
117113

118-
---
119-
120-
## Select an SDK language
121-
122-
After configuring the OpenAPI document, the next step prompt is to name the SDK. It's best to name the SDK after the company or project it serves.
123-
124-
Choose target language:
114+
### Select artifact type
125115

116+
After configuring the OpenAPI document, the next step prompt is to choose the type of artifact being generated: SDK or MCP. Select SDK, and a prompt will appear to choose the target language:
117+
Choosing Terraform will default you back to the CLI native onboarding. [Editor support for Terraform previews](https://roadmap.speakeasy.com/roadmap?id=a8164ebf-55e1-4376-b42e-4e040c085586) coming soon.
126118
<Screenshot
127119
variant="cli"
128120
image={{
@@ -131,11 +123,11 @@ Choose target language:
131123
}}
132124
/>
133125

134-
For each language,Speakeasy has crafted generators with language experts to be highly idiomatic. Follow the links below for all the details on the design decisions that have gone into each language we support:
126+
For each language, Speakeasy has crafted generators with language experts to be highly idiomatic. Follow the links below for all the details on the design decisions that have gone into each language we support:
135127

136128
<CardGrid cards={supportedLanguages} />
137129

138-
## Complete the SDK configuration
130+
### Complete the SDK configuration
139131

140132
Speakeasy validates the specifications and generates the SDK after receiving all inputs. The process executes [`speakeasy run`](/docs/speakeasy-reference/cli/run) to validate, generate, compile, and set up the SDK. A confirmation message displays the generated SDK details upon successful completion:
141133

@@ -147,9 +139,7 @@ Speakeasy validates the specifications and generates the SDK after receiving all
147139
}}
148140
/>
149141

150-
---
151-
152-
## Iterating on the SDK
142+
## Iterating on the SDK with Studio
153143

154144
If the SDK is successfully generated, there will be a prompt asking the user to open the SDK studio. The Studio is a web GUI that helps users make look & feel improvements to their SDKs. It uses [OpenAPI Overlays](/openapi/overlays) to preserve the original OpenAPI specification while allowing users to make changes to the generated SDK.
155145

docs/prep-openapi.mdx

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: "Iterate on your OpenAPI document with the OpenAPI Editor"
3+
description: "Use Speakeasy's OpenAPI Editor to create, edit, and manage your OpenAPI documents. Prepare OpenAPI specs for SDK generation."
4+
asIndexPage: true
5+
---
6+
7+
# Iterate on your OpenAPI document with the OpenAPI Editor
8+
9+
The Speakeasy OpenAPI Editor provides a web-based interface for editing and managing OpenAPI specifications. The editor includes real-time validation, AI-powered suggestions, and a non-destructive overlay system that preserves source integrity while enabling customization.
10+
11+
## Edit with the overlay system
12+
13+
The overlay system captures all changes as separate transformations that reapply automatically when the source specification regenerates. This approach prevents customizations from being overwritten.
14+
15+
![Screenshot of editor interface showing overlay indicator on modified fields](/assets/docs/prep-openapi/editor-overlay.png)
16+
17+
### How overlays work
18+
19+
When editing a field:
20+
21+
1. Changes save as an overlay, not as direct modifications to the source
22+
2. The overlay system tracks the specific path and transformation
23+
3. On source regeneration, overlays reapply automatically
24+
4. Conflicts surface in the editor for manual resolution
25+
26+
This system is particularly useful for teams using code-first API development, where specifications generate from source code but require additional documentation or examples.
27+
28+
For more information on OpenAPI Overlays, see [here](/docs/prep-openapi/overlays/create-overlays).
29+
30+
## Lint and validate specifications
31+
32+
The editor provides real-time linting and validation to catch errors and improve specification quality.
33+
34+
![Screenshot of validation panel showing errors, warnings, and AI suggestions](/assets/docs/prep-openapi/editor-validation.png)
35+
36+
### Built-in validation
37+
38+
Automatic validation catches common issues:
39+
40+
- **Syntax errors**: Invalid YAML or JSON structure
41+
- **Schema violations**: Fields that don't conform to OpenAPI specification
42+
- **Reference errors**: Broken `$ref` pointers to components
43+
- **Semantic issues**: Logical inconsistencies like duplicate operation IDs
44+
45+
Errors and warnings appear inline in the editor and in the validation panel. Select any issue to jump directly to the problematic line.
46+
47+
For a full list of linting rules please see, [here](/docs/prep-openapi/linting).
48+
49+
## Preview Artifact changes
50+
51+
The preview pane displays how specification changes affect generated SDKs and documentation in real-time.
52+
53+
![Screenshot of split-pane editor with source on left and SDK preview on right](/assets/docs/prep-openapi/editor-sdk-preview.png)
54+
55+
### Available preview modes
56+
57+
Toggle between preview modes to explore the different types of artifacts you can generate:
58+
59+
- **SDKs**: Generated client libraries in supported languages
60+
- **MCP servers**: Method signatures, parameters, and return types
61+
- **Terraform (Coming Soon!)**: Resource definitions and usage examples
62+
63+
Changes made to the spec in the editor update the preview instantly, providing immediate feedback on how modifications affect the developer experience.
64+
65+
### Multi-language preview
66+
67+
Select target languages to preview SDK generation across different programming environments:
68+
69+
![Screenshot of language selector showing TypeScript, Python, Go options](/assets/docs/prep-openapi/editor-language-selector.png)
70+
71+
The preview uses the same generation logic as production SDK builds, ensuring accuracy.
72+
73+
## Next steps
74+
75+
The OpenAPI Editor streamlines specification management through its overlay system, real-time validation, and instant SDK preview capabilities. Import specifications from any source, edit safely with non-destructive overlays, and validate changes before SDK generation. The editor integrates seamlessly into existing CLI workflows, requiring no changes to build pipelines or development processes.
303 KB
Loading
378 KB
Loading
557 KB
Loading
529 KB
Loading

0 commit comments

Comments
 (0)