Comments (5)
I checked at what https://github.com/swagger-api/swagger-codegen generates for typescript, they basically just remove the generic nature:
export interface IPageCustomer
export interface IPageUser
I can make this change, are you accepting PR's?
from swagger-to-flowtype.
This generator seems to just replace [ and ]
with < and >
and typescript
also doesn't allow to declare duplicate generics. At this time, I think replacing [ and ]
with < and >
would be enough for this library.
from swagger-to-flowtype.
from swagger-to-flowtype.
Yes, please create PR.
@TheTFo
from swagger-to-flowtype.
Pull Request #4 waiting to be reviewed.
from swagger-to-flowtype.
Related Issues (18)
- Running on Windows, shebang causes issues HOT 2
- Fix [eslint]no-use-before-define issue
- Support reading from URLs HOT 4
- Write to file with same root file name
- Support OAS3.0
- `allOf` ignores `properties` HOT 2
- It should be possible to generate flowtypes from properties defined with dashes HOT 2
- oneOf in OAS3 not supported
- Swagger file version required ? HOT 3
- SyntaxError: Unexpected character HOT 1
- Dashes (-) in component names will make prettier crash HOT 1
- Generating client classes HOT 2
- Feature request: Flow-strict HOT 1
- Optional object type properties HOT 8
- Specifying prefix / suffix for flow type HOT 1
- Undesirable Flow type being generated from OpenAPI's `oneOf` keyword.
- Support $Exact utility type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swagger-to-flowtype.