Response is always nullable under generateNullableReferenceTypes
#302
Labels
bug
Something isn't working
generateNullableReferenceTypes
#302
Discussed in #211
Originally posted by jods4 November 3, 2023
Given this basic OpenApi:
And when option
generateNullableReferenceTypes
is true, then the following method is generated:Why is
Response
nullable? Is my OpenApi missing a property to indicate the response is always present?When the API is successful (200) there is a
Response
object.With this code generation I basically have to always bang
!
my Refit responses.The text was updated successfully, but these errors were encountered: