Comments (2)
@chaffneue Thanks for the positive feedback and questions.
Mustache
was the approach I originally took, but one of my main remits when writing this was to have output that looked human written and not code generated. I couldn't get that level of control and quality from my attempts with Mustache or Handlebars so I went a more hand crafted path. The downside of that is that it's not quite as easy to customize / override.
Your best bet if you want to do something super custom is to fork. If there's something you feel could come back into here and be of benefit then I'm open to improvements.
FYI The redux actions are generated from this module https://github.com/mikestead/openapi-client/blob/master/src/gen/js/genReduxActions.ts
from openapi-client.
Great info! Thanks for the help.
from openapi-client.
Related Issues (20)
- File upload missing HOT 1
- Outdir is relative to package.json, rather than the file HOT 2
- Request: docs on using generated code, in particular, auth HOT 6
- Feature request: dispatch an _ERROR action if there was an API error HOT 9
- Custom authorization header
- Certain POST configurations result in an action creator that doesn't work
- Properties are not type checked for propLines constant
- Buffer polyfill being compiled into Webpack client bundles HOT 1
- Cannot convert undefined or null to object HOT 1
- Generator is lacking sanitization of identifiers
- redux action params are not converted to camelCase HOT 1
- Optional `date` parameter throws error HOT 2
- Make fetch'es 'credentials option' avail. HOT 3
- Dot (.) in function and parameter name. HOT 1
- parameter name with '.' HOT 1
- Problems with dash (-) in url HOT 1
- Usage with Angular2 HOT 1
- Only expose interfaces and types
- The models are also generated ? HOT 1
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 openapi-client.