Comments (3)
I spent a short amount of time investigating this. I was able to reproduce the issue locally. Interestingly, I found the OOM no longer occured if I did
cat openapi/spec3.json | sed 's/\/components\/schemas\/[^"]*/\/components\/schemas\/account/g' > smallspec.json
this is just a really dumb attempt to try and narrow down the problem by producer a simpler (but completely invalid) spec.
So this means that it might not be the size of spec3.json that's breaking swagger-ui
, it might have something to do instead with some sort of circular reference. In any case I still think ultimately the fix probably needs to come from Swagger but wanted to log my findings.
from openapi.
Hello @Cedric-Magnan, thank you for writing in.
I suspect that swagger-ui
is struggling with the size of the Stripe OpenAPI spec. I would report the issue to them.
I can play around with swagger-ui
for awhile to see if there's a simple fix, but if not I expect there's nothing we can do on our end short of finding a way to split Stripe's OpenAPI spec into smaller parts, which is something we've considered in the past but is unlikely to happen soon.
We don't officially support swagger-ui
. We do provide (and officially support) a Postman Collection. We also provide the Stripe CLI, a tool to help you interactively explore the Stripe API from the command-line, and the Stripe Shell, a similar tool that helps you explore from the context of the Stripe docs.
from openapi.
Hello @richardm-stripe,
Thanks for the useful informations !
I will close this issue since nothing can be done on this repository.
from openapi.
Related Issues (20)
- `POST /v1/ephemeral_keys` is missing the `verification_session` property HOT 2
- Add support for the new Tax Calculations HOT 1
- Chitwad
- Add license to info block
- BETA Money Movement APIs HOT 1
- Missing BETA issuing APIs HOT 1
- POST /v1/subscriptions missing a required parameter? HOT 8
- GET /v1/terminal/readers missing preview param `serial_number` HOT 4
- recursion between file and file_link HOT 2
- Plan in subscription object HOT 1
- Additional OpenAPI field properties: title and readOnly HOT 7
- Automatic pulling latest spec3.json per new Stripe OpenAPI release? HOT 2
- miss error invalid_bank_account_iban\invalid_owner_name HOT 5
- Frontier Climate: a bug report HOT 1
- `refunds` on `charge` is marked as required, but is not included in all requests HOT 3
- Update to Documentation HOT 1
- Retrieve events by related_object=<customer id> HOT 2
- Order Return Object has Disappeared HOT 2
- Question about subscription item quantity set to 0 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.