Comments (4)
That’s a good idea! I think that’s a great add. I’d love a PR if you have time, but if not I’d be happy to add this.
from openapi-typescript.
Thanks, @DangoDev! Unfortunately, I cannot commit to creating a PR in any short-term future. If you have capacity to do it, please go for it.
from openapi-typescript.
No worries. I’ll see if I can get this in for the 2.0
launch. Thanks again for the issue!
from openapi-typescript.
Just released a new next
version to npm that uses Prettier’s resolveConfig option instead to support all the configurations Prettier does. Give it a try:
npx @manifoldco/swagger-to-ts@next …
I added a test and confirmed that .js
format is working, but I didn’t test out all the different Prettier configurations (hopefully Prettier handles that for us!). Please let me know if you still experience the issue.
from openapi-typescript.
Related Issues (20)
- DELETE request fails with "Body cannot be empty when content-type is set to 'application/json'" HOT 1
- Error when compiling for CJS: "The current file is a CommonJS module..."
- Generated types causes compiler errors HOT 2
- [email protected] require('openapi-typescript') cannot export the astToString method HOT 3
- use openapiTS and astToString generate file type error in V7 HOT 1
- "Unexpected end of JSON input" with bun.js HOT 6
- Unauthorized errors when using openapi-fetch with SvelteKit HOT 3
- Filter invalid characters when transforming names from openapi to typescript
- typescript-fetch: dynamic fetch url
- FreeForm Object is generated as empty object HOT 1
- Feature clarification request: multiple schemas HOT 5
- Types missing for parameters with duplicate names but different locations HOT 1
- The 'styleguide' field is deprecated warning printed to console on every call to openapiTS() HOT 2
- Reduce the size of the package (v7) HOT 3
- Integration with tanstack-query HOT 2
- Change client headers HOT 1
- Header in createClient not considered when resolving request HOT 1
- Only generate models and export at root level HOT 1
- How to allow `DEPTH_ZERO_SELF_SIGNED_CERT`? HOT 1
- Converts anyOf: type: object to Record<string, never> HOT 3
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-typescript.