Skip to content

Commit 067fe4e

Browse files
committed
docs(create-freestyle-fetch): fix cli name
1 parent b1c0270 commit 067fe4e

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

packages/web/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ Welcome to the Metal-TS project documentation. Select a module to explore:
2121
icon={<FileCodeIcon />}
2222
title="OpenAPI Generator"
2323
description="Generate type-safe API clients from OpenAPI specifications."
24-
href="/en/docs/openapi-generator"
24+
href="/en/docs/create-freestyle-fetch"
2525
/>
2626
</Cards>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"title": "Overview",
3-
"pages": ["index", "fetch", "openapi-generator"]
3+
"pages": ["index", "fetch", "create-freestyle-fetch"]
44
}

packages/web/content/docs/openapi-generator/cli-reference.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The OpenAPI Generator provides a single `generate` command for creating API clie
1212
Generate a type-safe API client from an OpenAPI specification.
1313

1414
```bash
15-
openapi-generator generate [options]
15+
create-freestyle-fetch generate [options]
1616
```
1717

1818
## Options
@@ -31,7 +31,7 @@ openapi-generator generate [options]
3131
Generate client files from a local specification:
3232

3333
```bash
34-
openapi-generator generate \
34+
create-freestyle-fetch generate \
3535
--input ./api-spec.yaml \
3636
--output ./src/api
3737
```
@@ -41,7 +41,7 @@ openapi-generator generate \
4141
Paths are resolved relative to the current working directory:
4242

4343
```bash
44-
openapi-generator generate \
44+
create-freestyle-fetch generate \
4545
-i ../specs/api.json \
4646
-o ./generated
4747
```
@@ -146,7 +146,7 @@ src/generated/
146146
```json
147147
{
148148
"scripts": {
149-
"generate": "openapi-generator generate -i ./spec.json -o ./src/generated",
149+
"generate": "create-freestyle-fetch generate -i ./spec.json -o ./src/generated",
150150
"prebuild": "npm run generate"
151151
}
152152
}
@@ -171,5 +171,5 @@ steps:
171171
172172
## Related
173173
174-
- [Getting Started](/en/docs/openapi-generator/getting-started) - Installation and basic usage
175-
- [Generated Code](/en/docs/openapi-generator/generated-code) - Understanding the output
174+
- [Getting Started](/en/docs/create-freestyle-fetch/getting-started) - Installation and basic usage
175+
- [Generated Code](/en/docs/create-freestyle-fetch/generated-code) - Understanding the output

packages/web/content/docs/openapi-generator/generated-code.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,6 @@ Special characters like `$` are preserved:
200200

201201
## Related
202202

203-
- [Validation](/en/docs/openapi-generator/validation) - Runtime validation details
204-
- [CLI Reference](/en/docs/openapi-generator/cli-reference) - Generation options
203+
- [Validation](/en/docs/create-freestyle-fetch/validation) - Runtime validation details
204+
- [CLI Reference](/en/docs/create-freestyle-fetch/cli-reference) - Generation options
205205
- [Fetch Builder](/en/docs/fetch/core-api/builder) - Understanding the builder API

packages/web/content/docs/openapi-generator/getting-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ your-project/
9090

9191
## Next Steps
9292

93-
- [CLI Reference](/en/docs/openapi-generator/cli-reference) - Learn all CLI options
94-
- [Generated Code](/en/docs/openapi-generator/generated-code) - Understand the output
95-
- [Validation](/en/docs/openapi-generator/validation) - Use Zod validation
93+
- [CLI Reference](/en/docs/create-freestyle-fetch/cli-reference) - Learn all CLI options
94+
- [Generated Code](/en/docs/create-freestyle-fetch/generated-code) - Understand the output
95+
- [Validation](/en/docs/create-freestyle-fetch/validation) - Use Zod validation

packages/web/content/docs/openapi-generator/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ It eliminates manual API client code and keeps your client in sync with your API
1919
icon={<TerminalIcon />}
2020
title="Simple CLI"
2121
description="Generate clients with a single command. No configuration required."
22-
href="/en/docs/openapi-generator/cli-reference"
22+
href="/en/docs/create-freestyle-fetch/cli-reference"
2323
/>
2424
<Card
2525
icon={<FileCodeIcon />}
2626
title="Type-Safe Output"
2727
description="Generates TypeScript code with full type inference for all API operations."
28-
href="/en/docs/openapi-generator/generated-code"
28+
href="/en/docs/create-freestyle-fetch/generated-code"
2929
/>
3030
<Card
3131
icon={<ZapIcon />}
3232
title="Zod Validation"
3333
description="Automatic runtime validation using Zod schemas for request and response data."
34-
href="/en/docs/openapi-generator/validation"
34+
href="/en/docs/create-freestyle-fetch/validation"
3535
/>
3636
<Card
3737
icon={<ShieldCheckIcon />}
@@ -68,6 +68,6 @@ console.log(user.name, user.email)
6868
## What is Next?
6969

7070
<Cards>
71-
<Card title="Getting Started" href="/en/docs/openapi-generator/getting-started" />
72-
<Card title="CLI Reference" href="/en/docs/openapi-generator/cli-reference" />
71+
<Card title="Getting Started" href="/en/docs/create-freestyle-fetch/getting-started" />
72+
<Card title="CLI Reference" href="/en/docs/create-freestyle-fetch/cli-reference" />
7373
</Cards>

packages/web/content/docs/openapi-generator/validation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,6 @@ if (result.success) {
285285

286286
## Related
287287

288-
- [Generated Code](/en/docs/openapi-generator/generated-code) - Understanding the output structure
288+
- [Generated Code](/en/docs/create-freestyle-fetch/generated-code) - Understanding the output structure
289289
- [Zod Documentation](https://zod.dev) - Complete Zod reference
290290
- [Fetch Builder](/en/docs/fetch/core-api/builder) - Builder API details

0 commit comments

Comments
 (0)