nswag (OpenApi) typescript get error type
Hey, I'm generating an api client using nswag, here is an example route:
However, in the client itself the response is not a union type, but simply the 200 default type... How am I supposed to get the error in the frontend (typescript)?
However, in the client itself the response is not a union type, but simply the 200 default type... How am I supposed to get the error in the frontend (typescript)?