Skip to content

Commit ffdd55b

Browse files
committed
Update documentation and messages with new name
1 parent 7943b70 commit ffdd55b

File tree

19 files changed

+64
-62
lines changed

19 files changed

+64
-62
lines changed

.all-contributorsrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@
209209
}
210210
],
211211
"contributorsPerLine": 7,
212-
"projectName": "swagger-to-ts",
213-
"projectOwner": "manifoldco",
212+
"projectName": "openapi-typescript",
213+
"projectOwner": "drwpow",
214214
"repoType": "github",
215215
"repoHost": "https://github.com",
216216
"skipCi": true

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ series [How to Contribute to an Open Source Project on GitHub][egghead]
1515
> pull requests from branches on your fork. To do this, run:
1616
>
1717
> ```
18-
> git remote add upstream https://github.com/manifoldco/swagger-to-ts.git
18+
> git remote add upstream https://github.com/drwpow/openapi-typescript.git
1919
> git fetch upstream
2020
> git branch --set-upstream-to=upstream/master master
2121
> ```
@@ -51,6 +51,6 @@ Follow the prompts to release.
5151

5252
[all-contributors]: https://github.com/all-contributors/all-contributors
5353
[egghead]: https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github
54-
[good-first-issue]: https://github.com/manifoldco/swagger-to-ts/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22
55-
[help-wanted]: https://github.com/manifoldco/swagger-to-ts/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22
56-
[issues]: https://github.com/manifoldco/swagger-to-ts/issues
54+
[good-first-issue]: https://github.com/drwpow/openapi-typescript/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22
55+
[help-wanted]: https://github.com/drwpow/openapi-typescript/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22
56+
[issues]: https://github.com/drwpow/openapi-typescript/issues

README.md

Lines changed: 37 additions & 35 deletions
Large diffs are not rendered by default.

bin/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { loadSpec } = require("./loaders");
99

1010
const cli = meow(
1111
`Usage
12-
$ swagger-to-ts [input] [options]
12+
$ openapi-typescript [input] [options]
1313
1414
Options
1515
--help display this
@@ -37,7 +37,7 @@ Options
3737
}
3838
);
3939

40-
console.info(chalk.bold(`✨ swagger-to-ts 2.0`));
40+
console.info(chalk.bold(`✨ openapi-typescript 2.2`));
4141

4242
const pathToSpec = cli.input[0];
4343
const timeStart = process.hrtime();

examples/stripe-openapi2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was auto-generated by swagger-to-ts.
2+
* This file was auto-generated by openapi-typescript.
33
* Do not make direct changes to the file.
44
*/
55

examples/stripe-openapi3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was auto-generated by swagger-to-ts.
2+
* This file was auto-generated by openapi-typescript.
33
* Do not make direct changes to the file.
44
*/
55

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"node": ">= 10.0.0"
88
},
99
"bin": {
10-
"swagger-to-ts": "bin/cli.js"
10+
"openapi-typescript": "bin/cli.js"
1111
},
1212
"repository": {
1313
"type": "git",
@@ -27,9 +27,9 @@
2727
"author": "[email protected]",
2828
"license": "ISC",
2929
"bugs": {
30-
"url": "https://github.com/manifoldco/swagger-to-ts/issues"
30+
"url": "https://github.com/drwpow/openapi-typescript/issues"
3131
},
32-
"homepage": "https://github.com/manifoldco/swagger-to-ts#readme",
32+
"homepage": "https://github.com/drwpow/openapi-typescript#readme",
3333
"@pika/pack": {
3434
"pipeline": [
3535
[

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import v2 from "./v2";
1212
import v3 from "./v3";
1313

1414
export const WARNING_MESSAGE = `/**
15-
* This file was auto-generated by swagger-to-ts.
15+
* This file was auto-generated by openapi-typescript.
1616
* Do not make direct changes to the file.
1717
*/
1818

src/types/OpenAPI2.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* OpenAPI2 types
33
* These aren’t exhaustive or complete by any means; they simply provide only
4-
* the parts that swagger-to-ts needs to know about.
4+
* the parts that openapi-typescript needs to know about.
55
*/
66

77
export interface OpenAPI2Schemas {
@@ -11,7 +11,7 @@ export interface OpenAPI2Schemas {
1111
export interface OpenAPI2 {
1212
definitions?: OpenAPI2Schemas;
1313
swagger: string;
14-
[key: string]: any; // handle other properties beyond swagger-to-ts’ concern
14+
[key: string]: any; // handle other properties beyond this library’s concern
1515
}
1616

1717
export type OpenAPI2Type =

src/types/OpenAPI3.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* OpenAPI3 types
33
* These aren’t exhaustive or complete by any means; they simply provide only
4-
* the parts that swagger-to-ts needs to know about.
4+
* the parts that openapi-typescript needs to know about.
55
*/
66

77
export interface OpenAPI3Schemas {
@@ -46,7 +46,7 @@ export interface OpenAPI3 {
4646
openapi: string;
4747
paths?: OpenAPI3Paths; // technically required by spec, but this library tries to be lenient
4848
components?: OpenAPI3Components;
49-
[key: string]: any; // handle other properties beyond swagger-to-ts’ concern
49+
[key: string]: any; // handle other properties beyond this library’s concern
5050
}
5151

5252
export type OpenAPI3Type =

0 commit comments

Comments
 (0)