Skip to content

Commit 649349a

Browse files
authored
Merge pull request #2498 from hey-api/docs/falso-chance
docs: add Falso and Chance pages
2 parents 3d9aad5 + 6dbba20 commit 649349a

File tree

6 files changed

+50
-0
lines changed

6 files changed

+50
-0
lines changed

docs/.vitepress/config/en.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,18 @@ export default defineConfig({
195195
{
196196
collapsed: true,
197197
items: [
198+
{
199+
link: '/openapi-ts/plugins/chance',
200+
text: 'Chance <span data-soon>soon</span>',
201+
},
198202
{
199203
link: '/openapi-ts/plugins/faker',
200204
text: 'Faker <span data-soon>soon</span>',
201205
},
206+
{
207+
link: '/openapi-ts/plugins/falso',
208+
text: 'Falso <span data-soon>soon</span>',
209+
},
202210
{
203211
link: '/openapi-ts/plugins/msw',
204212
text: 'MSW <span data-soon>soon</span>',

docs/openapi-ts/mocks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ Realistic mock data is an important component of every robust development proces
1111

1212
Hey API natively supports the following mocking frameworks.
1313

14+
- [Chance](/openapi-ts/plugins/chance) <span data-soon>Soon</span>
1415
- [Faker](/openapi-ts/plugins/faker) <span data-soon>Soon</span>
16+
- [Falso](/openapi-ts/plugins/falso) <span data-soon>Soon</span>
1517
- [MSW](/openapi-ts/plugins/msw) <span data-soon>Soon</span>
1618
- [Nock](/openapi-ts/plugins/nock) <span data-soon>Soon</span>
1719
- [Supertest](/openapi-ts/plugins/supertest) <span data-soon>Soon</span>

docs/openapi-ts/plugins.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ The following plugins are planned but not in development yet. You can help us pr
3737
- [Adonis](/openapi-ts/plugins/adonis) <span data-soon>Soon</span>
3838
- [Ajv](/openapi-ts/plugins/ajv) <span data-soon>Soon</span>
3939
- [Arktype](/openapi-ts/plugins/arktype) <span data-soon>Soon</span>
40+
- [Chance](/openapi-ts/plugins/chance) <span data-soon>Soon</span>
4041
- [Express](/openapi-ts/plugins/express) <span data-soon>Soon</span>
4142
- [Faker](/openapi-ts/plugins/faker) <span data-soon>Soon</span>
43+
- [Falso](/openapi-ts/plugins/falso) <span data-soon>Soon</span>
4244
- [Hono](/openapi-ts/plugins/hono) <span data-soon>Soon</span>
4345
- [Joi](/openapi-ts/plugins/joi) <span data-soon>Soon</span>
4446
- [Koa](/openapi-ts/plugins/koa) <span data-soon>Soon</span>

docs/openapi-ts/plugins/chance.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Chance
3+
description: Chance plugin for Hey API. Compatible with all our features.
4+
---
5+
6+
<script setup lang="ts">
7+
import FeatureStatus from '@components/FeatureStatus.vue';
8+
</script>
9+
10+
# Chance <span data-soon>soon</span>
11+
12+
<FeatureStatus issueNumber=2497 name="Chance" />
13+
14+
### About
15+
16+
[Chance](https://chancejs.com/) is a minimalist generator of random strings, numbers, etc. to help reduce some monotony particularly while writing automated tests or anywhere else you need anything random.
17+
18+
<!--@include: ../../partials/sponsors.md-->

docs/openapi-ts/plugins/falso.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Falso
3+
description: Falso plugin for Hey API. Compatible with all our features.
4+
---
5+
6+
<script setup lang="ts">
7+
import FeatureStatus from '@components/FeatureStatus.vue';
8+
</script>
9+
10+
# Falso <span data-soon>soon</span>
11+
12+
<FeatureStatus issueNumber=2496 name="Falso" />
13+
14+
### About
15+
16+
[Falso](https://ngneat.github.io/falso/) creates massive amounts of fake data in the browser and NodeJS. Tree shakeable & fully typed.
17+
18+
<!--@include: ../../partials/sponsors.md-->

packages/openapi-ts/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,10 @@ The following plugins are planned but not in development yet. You can help us pr
318318
- [Adonis](https://heyapi.dev/openapi-ts/plugins/adonis)
319319
- [Ajv](https://heyapi.dev/openapi-ts/plugins/ajv)
320320
- [Arktype](https://heyapi.dev/openapi-ts/plugins/arktype)
321+
- [Chance](https://heyapi.dev/openapi-ts/plugins/chance)
321322
- [Express](https://heyapi.dev/openapi-ts/plugins/express)
322323
- [Faker](https://heyapi.dev/openapi-ts/plugins/faker)
324+
- [Falso](https://heyapi.dev/openapi-ts/plugins/falso)
323325
- [Hono](https://heyapi.dev/openapi-ts/plugins/hono)
324326
- [Joi](https://heyapi.dev/openapi-ts/plugins/joi)
325327
- [Koa](https://heyapi.dev/openapi-ts/plugins/koa)

0 commit comments

Comments
 (0)