Skip to content

Commit b8c95bd

Browse files
authored
Merge pull request #1 from Kovbo/support-nested-any-of-update
Update dependencies
2 parents c5797a0 + e9eb74a commit b8c95bd

File tree

89 files changed

+9019
-7493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+9019
-7493
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [ferdikoomen]

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "main" ]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: [ "main" ]
88
schedule:
99
- cron: "44 20 * * 3"
1010

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,35 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [0.29.0] - 2024-04-05
5+
> Please migrate your projects to use [@hey-api/openapi-ts](https://github.com/hey-api/openapi-ts)
6+
7+
The `@hey-api/openapi-ts`
8+
project started as a fork with the goal to resolve the most pressing issues. going forward they are planning to
9+
maintain the OpenAPI generator and give it the love it deserves. Please support them with their work and make
10+
sure to migrate your projects: https://heyapi.vercel.app/openapi-ts/migrating.html
11+
12+
### Fixed
13+
- Upgraded dependencies
14+
15+
16+
## [0.28.0] - 2024-03-19
17+
### Fixed
18+
- Upgraded dependencies
19+
- Windows issue when resolving external spec files
20+
- Media-type for falsy bodies except 'undefined'
21+
- Updated typo in generated header
22+
### Added
23+
- Enabled `withXSRFToken` for Axios
24+
25+
## [0.27.0] - 2024-01-15
26+
### Fixed
27+
- Reverted `@apidevtools/json-schema-ref-parser` to version 10.1.0
28+
29+
## [0.26.0] - 2024-01-07
30+
### Fixed
31+
- Upgraded dependencies
32+
433
## [0.25.0] - 2023-07-05
534
### Fixed
635
- Upgraded dependencies

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ https://help.github.com/articles/using-pull-requests
2020

2121
## Submitting a Pull Request
2222

23-
1. Make your changes in a new git branch: `git checkout -b my-fix-branch master`
23+
1. Make your changes in a new git branch: `git checkout -b my-fix-branch main`
2424
2. Create your patch or feature
2525
3. Ensure the builds work by running: `npm run build`
2626
4. Ensure the tests will pass by running: `npm run test`

README.md

Lines changed: 29 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1+
# Important announcement
2+
3+
> [!IMPORTANT]
4+
> Please migrate your projects to use [@hey-api/openapi-ts](https://github.com/hey-api/openapi-ts)
5+
6+
Due to time limitations on my end, this project has been unmaintained for a while now. The `@hey-api/openapi-ts`
7+
project started as a fork with the goal to resolve the most pressing issues. going forward they are planning to
8+
maintain the OpenAPI generator and give it the love it deserves. Please support them with their work and make
9+
sure to migrate your projects: https://heyapi.dev/openapi-ts/migrating.html#openapi-typescript-codegen
10+
11+
- All open PR's and issues will be archived on the 1st of May 2024
12+
- All versions of this package will be deprecated in NPM
13+
14+
👋 Thanks for all the support, downloads and love! Cheers Ferdi.
15+
16+
---
17+
118
# OpenAPI Typescript Codegen
219

320
[![NPM][npm-image]][npm-url]
421
[![License][license-image]][license-url]
5-
[![Coverage][coverage-image]][coverage-url]
6-
[![Coverage][coverage-image]][coverage-url]
722
[![Downloads][downloads-image]][downloads-url]
823
[![Build][build-image]][build-url]
924

@@ -57,42 +72,21 @@ $ openapi --help
5772
$ openapi --input ./spec.json --output ./generated --client xhr
5873
```
5974

60-
## Docker usage
75+
Documentation
76+
===
6177

62-
To build the Docker container, execute the following command:
78+
The main documentation can be found in the [openapi-typescript-codegen/wiki](https://github.com/ferdikoomen/openapi-typescript-codegen/wiki)
6379

64-
```
65-
docker build . --tag openapi-typescript-codegen
66-
```
80+
Sponsors
81+
===
6782

68-
After this is done, you can execute the CLI commands:
83+
If you or your company use the OpenAPI Typescript Codegen, please consider supporting me. By sponsoring I can free up time to give this project some love! Details can be found here: https://github.com/sponsors/ferdikoomen
6984

70-
```
71-
docker run openapi-typescript-codegen --help
72-
docker run openapi-typescript-codegen --input sample.yaml --output client
73-
```
85+
If you're from an enterprise looking for a fully managed SDK generation, please consider our sponsor:
7486

75-
Documentation
76-
===
77-
- [Basic usage](docs/basic-usage.md)
78-
- [OpenAPI object](docs/openapi-object.md)
79-
- [Client instances](docs/client-instances.md) `--name`
80-
- [Argument vs. Object style](docs/arguments-vs-object-style.md) `--useOptions`
81-
- [Enums vs. Union types](docs/enum-vs-union-types.md) `--useUnionTypes`
82-
- [Runtime schemas](docs/runtime-schemas.md) `--exportSchemas`
83-
- [Enum with custom names and descriptions](docs/custom-enums.md)
84-
- [Nullable props (OpenAPI v2)](docs/nullable-props.md)
85-
- [Authorization](docs/authorization.md)
86-
- [External references](docs/external-references.md)
87-
- [Canceling requests](docs/canceling-requests.md)
88-
- [Custom request file](docs/custom-request-file.md)
89-
90-
Support
91-
===
92-
- [Babel support](docs/babel-support.md)
93-
- [Axios support](docs/axios-support.md)
94-
- [Angular support](docs/angular-support.md)
95-
- [Node-Fetch support](docs/node-fetch-support.md)
87+
<a href="https://speakeasyapi.dev/?utm_source=ferdi+repo&utm_medium=github+sponsorship">
88+
<img alt="speakeasy" src="https://storage.googleapis.com/speakeasy-design-assets/ferdi-sponsorship.png" width="640"/>
89+
</a>
9690

9791
[npm-url]: https://npmjs.org/package/openapi-typescript-codegen
9892
[npm-image]: https://img.shields.io/npm/v/openapi-typescript-codegen.svg
@@ -102,5 +96,5 @@ Support
10296
[coverage-image]: https://img.shields.io/codecov/c/github/ferdikoomen/openapi-typescript-codegen.svg
10397
[downloads-url]: http://npm-stat.com/charts.html?package=openapi-typescript-codegen
10498
[downloads-image]: http://img.shields.io/npm/dm/openapi-typescript-codegen.svg
105-
[build-url]: https://circleci.com/gh/ferdikoomen/openapi-typescript-codegen/tree/master
106-
[build-image]: https://circleci.com/gh/ferdikoomen/openapi-typescript-codegen/tree/master.svg?style=svg
99+
[build-url]: https://circleci.com/gh/ferdikoomen/openapi-typescript-codegen/tree/main
100+
[build-image]: https://circleci.com/gh/ferdikoomen/openapi-typescript-codegen/tree/main.svg?style=svg

docs/angular-support.md

Lines changed: 0 additions & 89 deletions
This file was deleted.

docs/arguments-vs-object-style.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

docs/authorization.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/axios-support.md

Lines changed: 0 additions & 74 deletions
This file was deleted.

docs/babel-support.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)