Skip to content

Commit 7967aaf

Browse files
committed
docs(links): update anymaniax to orval-labs
1 parent 5585779 commit 7967aaf

34 files changed

+149
-149
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
When contributing to `orval`, whether on GitHub or in other community spaces:
44

55
- Be respectful, civil, and open-minded.
6-
- Before opening a new pull request, try searching through the [issue tracker](https://github.com/anymaniax/orval/issues) for known issues or fixes.
6+
- Before opening a new pull request, try searching through the [issue tracker](https://github.com/orval-labs/orval/issues) for known issues or fixes.
77
- If you want to make code changes based on your personal opinion(s), make sure you open an issue first describing the changes you want to make, and open a pull request only when your suggestions get approved by maintainers.
88

99
## How to Contribute
1010

1111
### Prerequisites
1212

13-
In order to not waste your time implementing a change that has already been declined, or is generally not needed, start by [opening an issue](https://github.com/anymaniax/orval/issues/new) describing the problem you would like to solve.
13+
In order to not waste your time implementing a change that has already been declined, or is generally not needed, start by [opening an issue](https://github.com/orval-labs/orval/issues/new) describing the problem you would like to solve.
1414

1515
### Setup your environment locally
1616

@@ -19,7 +19,7 @@ _Some commands will assume you have the Github CLI installed, if you haven't, co
1919
In order to contribute to this project, you will need to fork the repository:
2020

2121
```bash
22-
gh repo fork anymaniax/orval
22+
gh repo fork orval-labs/orval
2323
```
2424

2525
then, clone it to your local machine:

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![npm version](https://badge.fury.io/js/orval.svg)](https://badge.fury.io/js/orval)
22
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
3-
[![tests](https://github.com/anymaniax/orval/actions/workflows/tests.yaml/badge.svg)](https://github.com/anymaniax/orval/actions/workflows/tests.yaml)
3+
[![tests](https://github.com/orval-labs/orval/actions/workflows/tests.yaml/badge.svg)](https://github.com/orval-labs/orval/actions/workflows/tests.yaml)
44
[![orval](https://snyk.io/advisor/npm-package/orval/badge.svg)](https://snyk.io/advisor/npm-package/orval)
55

66
<p align="center">
@@ -22,31 +22,31 @@
2222

2323
You can find below some samples:
2424

25-
- [react app](https://github.com/anymaniax/orval/tree/master/samples/react-app)
26-
- [react query](https://github.com/anymaniax/orval/tree/master/samples/react-query)
27-
- [svelte query](https://github.com/anymaniax/orval/tree/master/samples/svelte-query)
28-
- [vue query](https://github.com/anymaniax/orval/tree/master/samples/vue-query)
29-
- [react app with swr](https://github.com/anymaniax/orval/tree/master/samples/react-app-with-swr)
30-
- [angular app](https://github.com/anymaniax/orval/tree/master/samples/angular-app)
31-
- [hono](https://github.com/anymaniax/orval/tree/master/samples/hono)
32-
- [next app with fetch](https://github.com/anymaniax/orval/tree/master/samples/next-app-with-fetch)
25+
- [react app](https://github.com/orval-labs/orval/tree/master/samples/react-app)
26+
- [react query](https://github.com/orval-labs/orval/tree/master/samples/react-query)
27+
- [svelte query](https://github.com/orval-labs/orval/tree/master/samples/svelte-query)
28+
- [vue query](https://github.com/orval-labs/orval/tree/master/samples/vue-query)
29+
- [react app with swr](https://github.com/orval-labs/orval/tree/master/samples/react-app-with-swr)
30+
- [angular app](https://github.com/orval-labs/orval/tree/master/samples/angular-app)
31+
- [hono](https://github.com/orval-labs/orval/tree/master/samples/hono)
32+
- [next app with fetch](https://github.com/orval-labs/orval/tree/master/samples/next-app-with-fetch)
3333

3434
### Playground
3535

3636
Try Orval out for yourself using our [Playgound](https://orval.dev/playground) application!
3737

3838
## Star History
3939

40-
<a href="https://star-history.com/#anymaniax/orval&Date">
40+
<a href="https://star-history.com/#orval-labs/orval&Date">
4141
<picture>
42-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=anymaniax/orval&type=Date&theme=dark" />
43-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=anymaniax/orval&type=Date" />
44-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=anymaniax/orval&type=Date" />
42+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=orval-labs/orval&type=Date&theme=dark" />
43+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=orval-labs/orval&type=Date" />
44+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=orval-labs/orval&type=Date" />
4545
</picture>
4646
</a>
4747

4848
### All Thanks To Our Contributors:
4949

50-
<a href="https://github.com/anymaniax/orval/graphs/contributors">
50+
<a href="https://github.com/orval-labs/orval/graphs/contributors">
5151
<img src="https://contrib.rocks/image?repo=anymaniax/orval" />
5252
</a>

docs/src/components/Footer.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const Footer = (props) => {
4545
<ul className="mt-4">
4646
<li className="mt-4">
4747
<a
48-
href="https://github.com/anymaniax/orval/releases"
48+
href="https://github.com/orval-labs/orval/releases"
4949
className="text-base leading-6 text-gray-500 hover:text-gray-900"
5050
>
5151
Releases
@@ -54,12 +54,12 @@ export const Footer = (props) => {
5454
<li className="mt-4">
5555
<a
5656
className="github-button"
57-
href="https://github.com/anymaniax/orval"
57+
href="https://github.com/orval-labs/orval"
5858
data-color-scheme="no-preference: light; light: light; dark: dark;"
5959
data-icon="octicon-star"
6060
data-size="large"
6161
data-show-count="true"
62-
aria-label="Star anymaniax/orval on GitHub"
62+
aria-label="Star orval-labs/orval on GitHub"
6363
>
6464
Star
6565
</a>
@@ -81,7 +81,7 @@ export const Footer = (props) => {
8181
</svg>
8282
</a>
8383
<a
84-
href="https://github.com/anymaniax"
84+
href="https://github.com/orval-labs"
8585
className="ml-6 text-gray-400 hover:text-gray-500"
8686
>
8787
<span className="sr-only">GitHub</span>

docs/src/pages/guides/angular.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Checkout the [orval config](../reference/configuration/full-example) reference t
2828

2929
The Angular mode will generate automatically two classes. One abstract with the definition and a service with the implementation. You should add the service inside a module and use it where you want.
3030

31-
You can checkout an example <a href="https://github.com/anymaniax/orval/tree/master/samples/angular-app" target="_blank">here</a>
31+
You can checkout an example <a href="https://github.com/orval-labs/orval/tree/master/samples/angular-app" target="_blank">here</a>
3232

3333
### How to set a backend url
3434

@@ -38,6 +38,6 @@ You can use an interceptor to automatically add the url of your API. Like you wo
3838

3939
You should define your mock inside the environment file. If you don't do that you will add all the dependencies to your bundle.
4040

41-
You can for example add a property `modules` and add a MockModule inside which will setup your mocks. You can check an example <a href="https://github.com/anymaniax/orval/tree/master/samples/angular-app/src/api/mocks" target="_blank">here</a>
41+
You can for example add a property `modules` and add a MockModule inside which will setup your mocks. You can check an example <a href="https://github.com/orval-labs/orval/tree/master/samples/angular-app/src/api/mocks" target="_blank">here</a>
4242

4343
You can also check the msw example <a href="https://github.com/mswjs/examples/tree/master/examples/rest-angular" target="_blank">here</a>

docs/src/pages/guides/basics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: basics
33
title: Basics
44
---
55

6-
You should define a OpenAPI specification (example <a href="https://github.com/anymaniax/orval/blob/master/samples/basic/petstore.yaml" target="_blank"> petstore.yaml</a>).
6+
You should define a OpenAPI specification (example <a href="https://github.com/orval-labs/orval/blob/master/samples/basic/petstore.yaml" target="_blank"> petstore.yaml</a>).
77

88
And then create a file `orval.config.js` at root of your project:
99

docs/src/pages/guides/custom-client.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ export type ErrorType<Error> = AxiosError<Error>;
5656
export type BodyType<BodyData> = CamelCase<BodyType>;
5757
```
5858

59-
Or, Please refer to the using custom fetch with Next.js sample app [here](https://github.com/anymaniax/orval/blob/master/samples/next-app-with-fetch/custom-fetch.ts).
59+
Or, Please refer to the using custom fetch with Next.js sample app [here](https://github.com/orval-labs/orval/blob/master/samples/next-app-with-fetch/custom-fetch.ts).

docs/src/pages/guides/fetch.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default defineConfig({
3030
```
3131

3232
Checkout the [orval config](../reference/configuration/full-example) reference to see all available options.
33-
Like the following example from this <a href="https://github.com/anymaniax/orval/blob/master/samples/next-app-with-fetch/petstore.yaml" target="_blank">`OpenAPI` Specification</a>:
33+
Like the following example from this <a href="https://github.com/orval-labs/orval/blob/master/samples/next-app-with-fetch/petstore.yaml" target="_blank">`OpenAPI` Specification</a>:
3434

3535
```ts
3636
/**
@@ -75,7 +75,7 @@ The `fetch` client will generate an implementation file with following per path
7575
2. A Function to generate request URL including query parameters and path parameters
7676
3. A function that call `fetch` API.
7777

78-
Checkout <a href="https://github.com/anymaniax/orval/blob/master/samples/next-app-with-fetch" target="_blank">here</a> the full example
78+
Checkout <a href="https://github.com/orval-labs/orval/blob/master/samples/next-app-with-fetch" target="_blank">here</a> the full example
7979

8080
#### Custom function
8181

@@ -98,7 +98,7 @@ module.exports = {
9898
};
9999
```
100100

101-
And, you prepare like the <a href="https://github.com/anymaniax/orval/blob/master/samples/next-app-with-fetch/custom-fetch.ts" target="_blank">sample implementation</a>
101+
And, you prepare like the <a href="https://github.com/orval-labs/orval/blob/master/samples/next-app-with-fetch/custom-fetch.ts" target="_blank">sample implementation</a>
102102
Then, you can generate a `fetch` client that calls the `customFetch` function like bellow:
103103

104104
```ts

docs/src/pages/guides/react-query.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Checkout the [orval config](../reference/configuration/full-example) reference t
2828

2929
The React query model will generate an implementation file with one custom hook per path in your OpenAPI Specification.
3030

31-
Like the following example from this <a href="https://github.com/anymaniax/orval/blob/master/samples/react-query/basic/petstore.yaml" target="_blank">swagger</a>:
31+
Like the following example from this <a href="https://github.com/orval-labs/orval/blob/master/samples/react-query/basic/petstore.yaml" target="_blank">swagger</a>:
3232

3333
```ts
3434
export const showPetById = (
@@ -115,4 +115,4 @@ module.exports = {
115115
};
116116
```
117117

118-
Checkout <a href="https://github.com/anymaniax/orval/blob/master/samples/react-query/basic" target="_blank">here</a> the full example
118+
Checkout <a href="https://github.com/orval-labs/orval/blob/master/samples/react-query/basic" target="_blank">here</a> the full example

docs/src/pages/guides/set-base-url.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const customFetch = async <T>(
7777
};
7878
```
7979

80-
Please refer to the complete sample [here](https://github.com/anymaniax/orval/blob/master/samples/next-app-with-fetch/custom-fetch.ts)
80+
Please refer to the complete sample [here](https://github.com/orval-labs/orval/blob/master/samples/next-app-with-fetch/custom-fetch.ts)
8181

8282
### Angular http client
8383

docs/src/pages/guides/svelte-query.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Checkout the [orval config](../reference/configuration/full-example) reference t
2828

2929
The svelte query model will generate an implementation file with one custom hook per path in your OpenAPI Specification.
3030

31-
Like the following example from this <a href="https://github.com/anymaniax/orval/blob/master/samples/svelte-query/petstore.yaml" target="_blank">swagger</a>:
31+
Like the following example from this <a href="https://github.com/orval-labs/orval/blob/master/samples/svelte-query/petstore.yaml" target="_blank">swagger</a>:
3232

3333
```ts
3434
export const showPetById = (
@@ -118,4 +118,4 @@ module.exports = {
118118
};
119119
```
120120

121-
Checkout <a href="https://github.com/anymaniax/orval/tree/master/samples/svelte-query" target="_blank">here</a> the full example
121+
Checkout <a href="https://github.com/orval-labs/orval/tree/master/samples/svelte-query" target="_blank">here</a> the full example

docs/src/pages/guides/swr.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Checkout the [orval config](../reference/configuration/full-example) reference t
2828

2929
The SWR model will generate an implementation file with one custom hook per path in your OpenAPI Specification.
3030

31-
Like the following example from this <a href="https://github.com/anymaniax/orval/blob/master/samples/react-app-with-swr/petstore.yaml" target="_blank">swagger</a>:
31+
Like the following example from this <a href="https://github.com/orval-labs/orval/blob/master/samples/react-app-with-swr/petstore.yaml" target="_blank">swagger</a>:
3232

3333
```ts
3434
export const showPetById = (
@@ -71,4 +71,4 @@ export const useShowPetById = <TError = Error>(
7171
};
7272
```
7373

74-
Checkout <a href="https://github.com/anymaniax/orval/blob/master/samples/react-app-with-swr" target="_blank">here</a> the full example
74+
Checkout <a href="https://github.com/orval-labs/orval/blob/master/samples/react-app-with-swr" target="_blank">here</a> the full example

docs/src/pages/guides/vue-query.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Checkout the [orval config](../reference/configuration/full-example) reference t
2828

2929
The Vue query model will generate an implementation file with one custom hook per path in your OpenAPI Specification.
3030

31-
Like the following example from this <a href="https://github.com/anymaniax/orval/blob/master/samples/vue-query/petstore.yaml" target="_blank">swagger</a>:
31+
Like the following example from this <a href="https://github.com/orval-labs/orval/blob/master/samples/vue-query/petstore.yaml" target="_blank">swagger</a>:
3232

3333
```ts
3434
export const showPetById = (
@@ -118,4 +118,4 @@ module.exports = {
118118
};
119119
```
120120

121-
Checkout <a href="https://github.com/anymaniax/orval/tree/master/samples/vue-query" target="_blank">here</a> the full example
121+
Checkout <a href="https://github.com/orval-labs/orval/tree/master/samples/vue-query" target="_blank">here</a> the full example

docs/src/pages/reference/configuration/input.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = {
6161
};
6262
```
6363

64-
Example of transformer <a href="https://github.com/anymaniax/orval/blob/master/samples/basic/api/transformer/add-version.js" target="_blank">here</a>
64+
Example of transformer <a href="https://github.com/orval-labs/orval/blob/master/samples/basic/api/transformer/add-version.js" target="_blank">here</a>
6565

6666
### filters
6767

@@ -117,7 +117,7 @@ Type: `Object`.
117117

118118
Default Value: `{}`.
119119

120-
Orval convert Swagger 2.0 definitions into OpenAPI 3.0.x. You can use the converterOptions property to provide custom config for that. Check [here](https://github.com/anymaniax/orval/blob/next/src/types/swagger2openapi.d.ts#L10) available options.
120+
Orval convert Swagger 2.0 definitions into OpenAPI 3.0.x. You can use the converterOptions property to provide custom config for that. Check [here](https://github.com/orval-labs/orval/blob/next/src/types/swagger2openapi.d.ts#L10) available options.
121121

122122
```js
123123
module.exports = {

docs/src/pages/reference/configuration/output.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737
};
3838
```
3939

40-
if you want you can provide a function to extend or create you custom client generator and this function receive a [[GeneratorClients](https://github.com/anymaniax/orval/blob/master/packages/core/src/types.ts#L156)](https://github.com/anymaniax/orval/blob/master/packages/core/src/types.ts#L156) in argument and should return a [ClientGeneratorsBuilder](https://github.com/anymaniax/orval/blob/master/packages/core/src/types.ts#L652).
40+
if you want you can provide a function to extend or create you custom client generator and this function receive a [[GeneratorClients](https://github.com/orval-labs/orval/blob/master/packages/core/src/types.ts#L156)](https://github.com/orval-labs/orval/blob/master/packages/core/src/types.ts#L156) in argument and should return a [ClientGeneratorsBuilder](https://github.com/orval-labs/orval/blob/master/packages/core/src/types.ts#L652).
4141

4242
### httpClient
4343

@@ -330,7 +330,7 @@ module.exports = {
330330
};
331331
```
332332

333-
If you want you can provide a function to extend or create you custom mock generator and check [here](https://github.com/anymaniax/orval/blob/master/src/types/generator.ts#L132) the type.
333+
If you want you can provide a function to extend or create you custom mock generator and check [here](https://github.com/orval-labs/orval/blob/master/src/types/generator.ts#L132) the type.
334334

335335
To discover all the available options, read below.
336336

@@ -454,7 +454,7 @@ Type: `String` or `Function`.
454454

455455
Valid values: path or implementation of the transformer function.
456456

457-
This function is executed for each call when you generate and take in argument a <a href="https://github.com/anymaniax/orval/blob/master/packages/core/src/types.ts#L556" target="_blank">GeneratorVerbOptions</a> and should return a <a href="https://github.com/anymaniax/orval/blob/master/packages/core/src/types.ts#L556" target="_blank">GeneratorVerbOptions</a>
457+
This function is executed for each call when you generate and take in argument a <a href="https://github.com/orval-labs/orval/blob/master/packages/core/src/types.ts#L556" target="_blank">GeneratorVerbOptions</a> and should return a <a href="https://github.com/orval-labs/orval/blob/master/packages/core/src/types.ts#L556" target="_blank">GeneratorVerbOptions</a>
458458

459459
```js
460460
module.exports = {
@@ -1170,7 +1170,7 @@ module.exports = {
11701170

11711171
Type: `Object`.
11721172

1173-
Give you the possibility to put a value for a `format`. In your specification, if you put a `format: email` to a property Orval will automatically generate a random email for you. See the default available format <a href="https://github.com/anymaniax/orval/blob/master/packages/mock/src/faker/constants.ts" target="_blank">here</a>.
1173+
Give you the possibility to put a value for a `format`. In your specification, if you put a `format: email` to a property Orval will automatically generate a random email for you. See the default available format <a href="https://github.com/orval-labs/orval/blob/master/packages/mock/src/faker/constants.ts" target="_blank">here</a>.
11741174

11751175
```js
11761176
module.exports = {
@@ -1803,7 +1803,7 @@ Valid Values: `true` or `false`.
18031803
Default Value: `false`.
18041804

18051805
Applies to all clients, but probably only makes sense for `Tanstack Query`.
1806-
Use this property to make all parameters optional except the path parameter. This is useful to take advantage of the `Orval`'s auto-enable feature for `Tanstack Query`, see https://github.com/anymaniax/orval/pull/894
1806+
Use this property to make all parameters optional except the path parameter. This is useful to take advantage of the `Orval`'s auto-enable feature for `Tanstack Query`, see https://github.com/orval-labs/orval/pull/894
18071807

18081808
```js
18091809
module.exports = {
@@ -1821,7 +1821,7 @@ Type: `Boolean`
18211821

18221822
Valid values: true or false. Defaults to false. **Note:** this only works for Tanstack Query clients for now.
18231823

1824-
Use this property to enable URL encoding of path/query parameters. This is highly recommended, and will probably become a default in the future, see https://github.com/anymaniax/orval/pull/895
1824+
Use this property to enable URL encoding of path/query parameters. This is highly recommended, and will probably become a default in the future, see https://github.com/orval-labs/orval/pull/895
18251825

18261826
```js
18271827
module.exports = {

docs/src/siteConfig.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// List of projects/orgs using your project for the users page.
22
export const siteConfig = {
3-
editUrl: 'https://github.com/anymaniax/orval/edit/master/docs/src/pages',
3+
editUrl: 'https://github.com/orval-labs/orval/edit/master/docs/src/pages',
44
copyright: `Copyright © ${new Date().getFullYear()} Victor Bury. All Rights Reserved.`,
5-
repoUrl: 'https://github.com/anymaniax/orval',
5+
repoUrl: 'https://github.com/orval-labs/orval',
66
discordUrl: 'https://discord.gg/6fC2sjDU7w',
77
algolia: {
88
appId: process.env.NEXT_PUBLIC_ALGOLIA_APP_ID,

0 commit comments

Comments
 (0)