Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
davidnich opened this issue Sep 30, 2024 · 0 comments
Open
Assignees
Milestone

Comments

@davidnich
Copy link
Contributor

$ 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")
@davidnich davidnich added this to the 2.0 milestone Sep 30, 2024
@davidnich davidnich self-assigned this Sep 30, 2024
davidnich added a commit that referenced this issue Sep 30, 2024
…ry arguments as objects if lax parsing options are enabled
davidnich added a commit that referenced this issue Sep 30, 2024
…ry arguments as objects if lax parsing options are enabled
@davidnich davidnich modified the milestones: 2.0, backlog Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

1 participant