Open K4leri opened 4 months ago
Thanks for reporting! Any chance you can share the OpenAPI specification that is generated? That would make it so much easier to reproduce and fix the issue. 🙏
I hope u are asking about this. If not, correct me pls. I will provide exactly what u want to get.
But as u can see its not the problem of scalar visualisation of docs. Its the problem of openAPI. The first screenshot is schema. The second one is Example Value.
Kind of! But the rendered reference has a "Download OpenAPI Spec" link in the header. Can you use that to download the OpenAPI specification and share it here?
Maybe this is wrong already, then we need to take a look at @elysia/swagger or - if it’s right - we can swiftly fix the issue here. 👍
What happens?
screenShot of the problem
![изображение](https://github.com/scalar/scalar/assets/65418952/a7034c1d-dba3-4766-ac86-20e1da449e0f)repeat
is a part ofScheduleSchema
value andScheduleSchema
is a part ofschedule: t.Array(ScheduleSchema)
Got missmatch schema. Partial doesnt work ? something very strange i see in documentation. But in code snippets with request there is values that user can take.
I dont see
daysHash
,repeat_at
,price
values from the first partial part. And i dont see any of the values from the second possible partial part.What did you expect to happen?
Would like to see some values here
How can we reproduce the issue?
schema above
Swagger/OpenAPI Example
No response