Repository navigation
Error schema ignored? #1055
Answered
by
baywet
Jonathan Channon (jchannon)
asked this question in
Q&A
Error schema ignored?
#1055
|
To try Kiota out I found a public api - https://developer-portal.driver-vehicle-licensing.api.gov.uk/apis/vehicle-enquiry-service/v1.1.0-vehicle-enquiry-service.json On a successful request you get back a vehicle model/schema but on an error you get back a error model/schema however Kiota uses the vehicle model with an extra property called AdditionalData that has the error model in it. Is this a bug? |
Answered by
baywet
Jan 24, 2022
Replies: 1 comment
|
Hey Jonathan Channon (@jchannon) 👋 Yes this is a known limitation of Kiota today, we're still discussing the design implications of handling errors and their described types over here don't hesitate to jump in the discussion there. |
0 replies
Answer selected by
baywet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Jonathan Channon (@jchannon) 👋
Thanks for reaching out and for your recent contributions.
Yes this is a known limitation of Kiota today, we're still discussing the design implications of handling errors and their described types over here don't hesitate to jump in the discussion there.