You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-30
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,17 @@
1
1
# OpenAPI Typescript Codegen
2
2
3
-
[![NPM][npm-image]][npm-url]
4
-
[![License][license-image]][license-url]
5
-
[![Coverage][coverage-image]][coverage-url]
6
-
[![Coverage][coverage-image]][coverage-url]
7
-
[![Downloads][downloads-image]][downloads-url]
8
-
[![Build][build-image]][build-url]
9
-
10
3
> Node.js library that generates Typescript clients based on the OpenAPI specification.
11
4
5
+
This Repo is a fork of the original codebase that was created to support OpenAPI spec v3.1. The original motivation was to be able to support schema generated by [FastAPI](https://fastapi.tiangolo.com/) versions 0.100 and above.
6
+
7
+
12
8
## Why?
13
9
- Frontend ❤️ OpenAPI, but we do not want to use JAVA codegen in our builds
14
10
- Quick, lightweight, robust and framework-agnostic 🚀
15
11
- Supports generation of TypeScript clients
16
12
- Supports generations of Fetch, Node-Fetch, Axios, Angular and XHR http clients
17
13
- Supports OpenAPI specification v2.0 and v3.0
14
+
- Partial support of OpenAPI specification v3.1
18
15
- Supports JSON and YAML files for input
19
16
- Supports generation through CLI, Node.js and NPX
20
17
- Supports tsc and @babel/plugin-transform-typescript
@@ -43,8 +40,8 @@ $ openapi --help
43
40
--useOptions Use options instead of arguments
44
41
--useUnionTypes Use union types instead of enums
45
42
--exportCore <value> Write core files to disk (default: true)
46
-
--exportServices <value> Write services to disk (default: true)
47
-
--exportModels <value> Write models to disk (default: true)
43
+
--exportServices <value> Write services to disk [true, false, regexp] (default: true)
44
+
--exportModels <value> Write models to disk [true, false, regexp] (default: true)
48
45
--exportSchemas <value> Write schemas to disk (default: false)
--postfixServices Service name postfix (default: "Service")
@@ -62,24 +59,3 @@ Documentation
62
59
63
60
The main documentation can be found in the [openapi-typescript-codegen/wiki](https://github.com/ferdikoomen/openapi-typescript-codegen/wiki)
64
61
65
-
Sponsors
66
-
===
67
-
68
-
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
69
-
70
-
If you're from an enterprise looking for a fully managed SDK generation, please consider our sponsor:
0 commit comments