@@ -424,7 +424,7 @@ PetApi <- R6::R6Class(
424424 oauth_scopes <- NULL
425425 is_oauth <- FALSE
426426
427- if (missing(`pet` )) {
427+ if (missing(`pet` ) || is.null( `pet` ) ) {
428428 rlang :: abort(message = " Missing required parameter `pet`." ,
429429 .subclass = " ApiException" ,
430430 ApiException = ApiException $ new(status = 0 ,
@@ -546,7 +546,7 @@ PetApi <- R6::R6Class(
546546 oauth_scopes <- NULL
547547 is_oauth <- FALSE
548548
549- if (missing(`pet_id` )) {
549+ if (missing(`pet_id` ) || is.null( `pet_id` ) ) {
550550 rlang :: abort(message = " Missing required parameter `pet_id`." ,
551551 .subclass = " ApiException" ,
552552 ApiException = ApiException $ new(status = 0 ,
@@ -655,7 +655,7 @@ PetApi <- R6::R6Class(
655655 oauth_scopes <- NULL
656656 is_oauth <- FALSE
657657
658- if (missing(`status` )) {
658+ if (missing(`status` ) || is.null( `status` ) ) {
659659 rlang :: abort(message = " Missing required parameter `status`." ,
660660 .subclass = " ApiException" ,
661661 ApiException = ApiException $ new(status = 0 ,
@@ -782,7 +782,7 @@ PetApi <- R6::R6Class(
782782 oauth_scopes <- NULL
783783 is_oauth <- FALSE
784784
785- if (missing(`tags` )) {
785+ if (missing(`tags` ) || is.null( `tags` ) ) {
786786 rlang :: abort(message = " Missing required parameter `tags`." ,
787787 .subclass = " ApiException" ,
788788 ApiException = ApiException $ new(status = 0 ,
@@ -897,7 +897,7 @@ PetApi <- R6::R6Class(
897897 oauth_scopes <- NULL
898898 is_oauth <- FALSE
899899
900- if (missing(`pet_id` )) {
900+ if (missing(`pet_id` ) || is.null( `pet_id` ) ) {
901901 rlang :: abort(message = " Missing required parameter `pet_id`." ,
902902 .subclass = " ApiException" ,
903903 ApiException = ApiException $ new(status = 0 ,
@@ -1023,7 +1023,7 @@ PetApi <- R6::R6Class(
10231023 oauth_scopes <- NULL
10241024 is_oauth <- FALSE
10251025
1026- if (missing(`pet_id` )) {
1026+ if (missing(`pet_id` ) || is.null( `pet_id` ) ) {
10271027 rlang :: abort(message = " Missing required parameter `pet_id`." ,
10281028 .subclass = " ApiException" ,
10291029 ApiException = ApiException $ new(status = 0 ,
@@ -1154,7 +1154,7 @@ PetApi <- R6::R6Class(
11541154 oauth_scopes <- NULL
11551155 is_oauth <- FALSE
11561156
1157- if (missing(`header_test_int` )) {
1157+ if (missing(`header_test_int` ) || is.null( `header_test_int` ) ) {
11581158 rlang :: abort(message = " Missing required parameter `header_test_int`." ,
11591159 .subclass = " ApiException" ,
11601160 ApiException = ApiException $ new(status = 0 ,
@@ -1277,7 +1277,7 @@ PetApi <- R6::R6Class(
12771277 oauth_scopes <- NULL
12781278 is_oauth <- FALSE
12791279
1280- if (missing(`pet` )) {
1280+ if (missing(`pet` ) || is.null( `pet` ) ) {
12811281 rlang :: abort(message = " Missing required parameter `pet`." ,
12821282 .subclass = " ApiException" ,
12831283 ApiException = ApiException $ new(status = 0 ,
@@ -1400,7 +1400,7 @@ PetApi <- R6::R6Class(
14001400 oauth_scopes <- NULL
14011401 is_oauth <- FALSE
14021402
1403- if (missing(`pet_id` )) {
1403+ if (missing(`pet_id` ) || is.null( `pet_id` ) ) {
14041404 rlang :: abort(message = " Missing required parameter `pet_id`." ,
14051405 .subclass = " ApiException" ,
14061406 ApiException = ApiException $ new(status = 0 ,
@@ -1511,7 +1511,7 @@ PetApi <- R6::R6Class(
15111511 oauth_scopes <- NULL
15121512 is_oauth <- FALSE
15131513
1514- if (missing(`pet_id` )) {
1514+ if (missing(`pet_id` ) || is.null( `pet_id` ) ) {
15151515 rlang :: abort(message = " Missing required parameter `pet_id`." ,
15161516 .subclass = " ApiException" ,
15171517 ApiException = ApiException $ new(status = 0 ,
0 commit comments