qorelanguage / qore

Qore Programming Language
GNU General Public License v2.0
61 stars 10 forks source link

Swagger schemas cannot support complex array items in form data parameters #4912

Open davidnich opened 2 months ago

davidnich commented 2 months ago
$ qdp swagger'{schema=../../../../../Downloads/stripe.swagger.json}'
unhandled QORE User exception thrown in TID 1 at 2024-09-30 10:46:31.548134 Mon +02:00 (CEST) in ParameterItemsSchemaObject::constructor() (/Users/david/src/Qorus/test/qlib/Swagger.qm:4609-4610 (Qore user code))
INVALID-FIELD-VALUE: Parameter Items Schema Object "items": invalid type value "object"; parameter items must be basic types and cannot be objects (while processing parameter "9/40") (operation "POST /v1/checkout/sessions") (from URL "../../../../../Downloads/stripe.swagger.json")