Skip to content

Commit eff3333

Browse files
committed
Create the fork, change name
1 parent abab307 commit eff3333

File tree

7 files changed

+28
-28
lines changed

7 files changed

+28
-28
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OpenAPI Typescript Codegen
1+
# Typescript OpenAPI Codegen - Fork of [OpenAPI Typescript Codegen](https://github.com/ferdikoomen/openapi-typescript-codegen)
22

33
[![NPM][npm-image]][npm-url]
44
[![License][license-image]][license-url]
@@ -25,7 +25,7 @@
2525
## Install
2626

2727
```
28-
npm install openapi-typescript-codegen --save-dev
28+
npm install typescript-openapi-codegen --save-dev
2929
```
3030

3131
## Usage
@@ -79,17 +79,17 @@ Support
7979
- [Angular support](docs/angular-support.md)
8080
- [Node-Fetch support](docs/node-fetch-support.md)
8181

82-
[npm-url]: https://npmjs.org/package/openapi-typescript-codegen
83-
[npm-image]: https://img.shields.io/npm/v/openapi-typescript-codegen.svg
82+
[npm-url]: https://npmjs.org/package/typescript-openapi-codegen
83+
[npm-image]: https://img.shields.io/npm/v/typescript-openapi-codegen.svg
8484
[license-url]: LICENSE
85-
[license-image]: http://img.shields.io/npm/l/openapi-typescript-codegen.svg
86-
[coverage-url]: https://codecov.io/gh/ferdikoomen/openapi-typescript-codegen
87-
[coverage-image]: https://img.shields.io/codecov/c/github/ferdikoomen/openapi-typescript-codegen.svg
88-
[quality-url]: https://lgtm.com/projects/g/ferdikoomen/openapi-typescript-codegen
89-
[quality-image]: https://img.shields.io/lgtm/grade/javascript/g/ferdikoomen/openapi-typescript-codegen.svg
90-
[climate-url]: https://codeclimate.com/github/ferdikoomen/openapi-typescript-codegen
91-
[climate-image]: https://img.shields.io/codeclimate/maintainability/ferdikoomen/openapi-typescript-codegen.svg
92-
[downloads-url]: http://npm-stat.com/charts.html?package=openapi-typescript-codegen
93-
[downloads-image]: http://img.shields.io/npm/dm/openapi-typescript-codegen.svg
94-
[build-url]: https://circleci.com/gh/ferdikoomen/openapi-typescript-codegen/tree/master
95-
[build-image]: https://circleci.com/gh/ferdikoomen/openapi-typescript-codegen/tree/master.svg?style=svg
85+
[license-image]: http://img.shields.io/npm/l/typescript-openapi-codegen.svg
86+
[coverage-url]: https://codecov.io/gh/essqure/typescript-openapi-codegen
87+
[coverage-image]: https://img.shields.io/codecov/c/github/essqure/typescript-openapi-codegen.svg
88+
[quality-url]: https://lgtm.com/projects/g/essqure/typescript-openapi-codegen
89+
[quality-image]: https://img.shields.io/lgtm/grade/javascript/g/essqure/typescript-openapi-codegen.svg
90+
[climate-url]: https://codeclimate.com/github/essqure/typescript-openapi-codegen
91+
[climate-image]: https://img.shields.io/codeclimate/maintainability/essqure/typescript-openapi-codegen.svg
92+
[downloads-url]: http://npm-stat.com/charts.html?package=typescript-openapi-codegen
93+
[downloads-image]: http://img.shields.io/npm/dm/typescript-openapi-codegen.svg
94+
[build-url]: https://circleci.com/gh/essqure/typescript-openapi-codegen/tree/master
95+
[build-image]: https://circleci.com/gh/essqure/typescript-openapi-codegen/tree/master.svg?style=svg

docs/basic-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ $ openapi --help
4040
**NPX**
4141

4242
```
43-
npx openapi-typescript-codegen --input ./spec.json --output ./generated
43+
npx typescript-openapi-codegen --input ./spec.json --output ./generated
4444
```
4545

4646
**Node.js**
4747

4848
```javascript
49-
const OpenAPI = require('openapi-typescript-codegen');
49+
const OpenAPI = require('typescript-openapi-codegen');
5050

5151
OpenAPI.generate({
5252
input: './spec.json',

docs/custom-request-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To use this request file in your generated code you can execute the
5454
following command:
5555

5656
```
57-
npx openapi-typescript-codegen --input ./spec.json --output ./generated --request ./request.ts
57+
npx typescript-openapi-codegen --input ./spec.json --output ./generated --request ./request.ts
5858
```
5959

6060
The `--request` parameter will tell the generator to not generate the default

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"name": "openapi-typescript-codegen",
2+
"name": "typescript-openapi-codegen",
33
"version": "0.23.0",
44
"description": "Library that generates Typescript clients based on the OpenAPI specification.",
55
"author": "Ferdi Koomen",
6-
"homepage": "https://github.com/ferdikoomen/openapi-typescript-codegen",
6+
"homepage": "https://github.com/essquare/typescript-openapi-codegen",
77
"repository": {
88
"type": "git",
9-
"url": "git+https://github.com/ferdikoomen/openapi-typescript-codegen.git"
9+
"url": "git+https://github.com/essquare/typescript-openapi-codegen.git"
1010
},
1111
"bugs": {
12-
"url": "https://github.com/ferdikoomen/openapi-typescript-codegen/issues"
12+
"url": "https://github.com/essqure/typescript-openapi-codegen/issues"
1313
},
1414
"license": "MIT",
1515
"keywords": [

samples/codegen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ java -jar ./swagger-codegen-cli-v2.jar generate -i spec/v2.json -l typescript-no
1717
java -jar ./swagger-codegen-cli-v3.jar generate -i spec/v3.json -l typescript-angular -o generated/v3/typescript-angular/
1818
java -jar ./swagger-codegen-cli-v3.jar generate -i spec/v3.json -l typescript-fetch -o generated/v3/typescript-fetch/
1919

20-
node ../bin/index.js --input spec/v2.json --output generated/v2/openapi-typescript-codegen/
21-
node ../bin/index.js --input spec/v3.json --output generated/v3/openapi-typescript-codegen/
20+
node ../bin/index.js --input spec/v2.json --output generated/v2/typescript-openapi-codegen/
21+
node ../bin/index.js --input spec/v3.json --output generated/v3/typescript-openapi-codegen/

src/index.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ describe('index', () => {
1919

2020
it('downloads and parses v2 without issues', async () => {
2121
await OpenAPI.generate({
22-
input: 'https://raw.githubusercontent.com/ferdikoomen/openapi-typescript-codegen/master/test/spec/v2.json',
22+
input: 'https://raw.githubusercontent.com/essquare/typescript-openapi-codegen/master/test/spec/v2.json',
2323
output: './generated/v2-downloaded/',
2424
write: false,
2525
});
2626
});
2727

2828
it('downloads and parses v3 without issues', async () => {
2929
await OpenAPI.generate({
30-
input: 'https://raw.githubusercontent.com/ferdikoomen/openapi-typescript-codegen/master/test/spec/v3.json',
30+
input: 'https://raw.githubusercontent.com/essquare/typescript-openapi-codegen/master/test/spec/v3.json',
3131
output: './generated/v3-downloaded/',
3232
write: false,
3333
});

0 commit comments

Comments
 (0)