Comments (3)
the swagger endpoints i'm using it against use the x-nullable property
Actually the Swagger endpoints we use have that too! It wasn’t included just because we didn’t need that in TypeScript. I’m not sure if it’s true spec, but it seems common enough to include
Does this sound like something you would consider including? I could try to implement it and submit a PR, but I would like a discussion up front in order to know it's something that will be considered for inclusion
Let’s include it! The good part of this repo is that there are tests to ensure everything is working, so we can add that without disrupting anything else. If you could open a PR that’d be great, and I can help write a test if you’re unfamiliar.
If you don’t have the time for a PR (I know it’s the new year now) I can add this to the roadmap of things to improve.
from openapi-typescript.
Great!
I will try to find some time to start working on a PR for this in the next couple of weeks. I'll keep you updated on the progress (or lack thereof)
from openapi-typescript.
version 1.6.0
just published to npm 🎉
from openapi-typescript.
Related Issues (20)
- 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
- openapi-typescript cmd idle when using redocly.yaml HOT 2
- Empty object inside of allOf creates Record<string, never> in a type intersection HOT 1
- Query param type safety only works for the first param. HOT 4
- client["/endpoint"].GET style call pattern to enable go-to-definition HOT 2
- immutable option and readonly arrays HOT 1
- failure on attempting to GET a binary image response HOT 3
- `--exclude-deprecated` flag is not applied to query and path HOT 2
- Query parameter serialization for objects is not the openapi default HOT 4
- Redocly not using auth headers from env var when trying to pull a yaml from a private repo HOT 2
- Operation types are being mapped incorrectly (v7) HOT 3
- Add an option to generate type aliases for schemas HOT 2
- Exception in catch block: `TypeError: Response.text: Body has already been consumed.` HOT 2
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.