File tree Expand file tree Collapse file tree 19 files changed +64
-62
lines changed Expand file tree Collapse file tree 19 files changed +64
-62
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const { loadSpec } = require("./loaders");
99
1010const cli = meow (
1111 `Usage
12- $ swagger-to-ts [input] [options]
12+ $ openapi-typescript [input] [options]
1313
1414Options
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
4242const pathToSpec = cli . input [ 0 ] ;
4343const timeStart = process . hrtime ( ) ;
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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" ,
2727 "author" : " drew@pow.rs" ,
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 [
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import v2 from "./v2";
1212import v3 from "./v3" ;
1313
1414export 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
Original file line number Diff line number Diff line change 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
77export interface OpenAPI2Schemas {
@@ -11,7 +11,7 @@ export interface OpenAPI2Schemas {
1111export 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
1717export type OpenAPI2Type =
Original file line number Diff line number Diff line change 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
77export 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
5252export type OpenAPI3Type =
You can’t perform that action at this time.
0 commit comments