conjure icon indicating copy to clipboard operation
conjure copied to clipboard

Add Conjure Error Code for 401 unauthorized responses

Open tom-s-powell opened this issue 4 years ago • 3 comments

Motivation

I'd like to be able to define a Conjure error whose HTTP status code maps to a 401.

Proposal

Add a NOT_AUTHORIZED value to https://github.com/palantir/conjure/blob/fc68a07b5780858521d2b50382c1a3c4b0b61bad/conjure-api/src/main/conjure/conjure-api.yml#L31.

tom-s-powell avatar Sep 17 '19 00:09 tom-s-powell

See https://github.com/palantir/conjure/pull/367

uschi2000 avatar Sep 17 '19 08:09 uschi2000

Fixed in #367

pkoenig10 avatar Oct 14 '19 22:10 pkoenig10

#367 is reverted by https://github.com/palantir/conjure/pull/426

jiminsong avatar May 01 '20 16:05 jiminsong