Someone's openapi is missing a response code, how can I extract their error message? #6704
Unanswered
bimargulies
asked this question in
Q&A
Replies: 2 comments
-
Hi @bimargulies |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am already using a jquery script to edit their openapi spec for other
lacunae, I can do an error code as well.
…On Mon, Jun 30, 2025 at 9:25 AM Vincent Biret ***@***.***> wrote:
Hi @bimargulies <https://github.com/bimargulies>
Thank you for using kiota and for reaching out.
Is the error response something that could be parsed (i.e. JSON) ? In
which case, your easiest path forward is probably to keep a local copy of
the description and edit it to include the error definition. Eventually try
to funnel the change back to the API producer.
—
Reply to this email directly, view it on GitHub
<#6704 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACE7UWKV5NCFYOTJU4LUST3GE3EHAVCNFSM6AAAAACAOD3N3WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNRRHAYTKMQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using kiota to talk to a service whose authors forgot to list '400' among their error codes, but who produce 400s. Other than editing their openapi doc, how could I extract the details associated with their response?
Beta Was this translation helpful? Give feedback.
All reactions