mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 21:26:11 +00:00
import Nullable if required (#21829)
Also allows to override it eg with: <importMapping>Nullable=org.jspecify.annotations.Nullable</importMapping>
This commit is contained in:
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.Client;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.service.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
@@ -12,12 +12,12 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.openapitools.model.FileSchemaTestClass;
|
||||
import java.time.LocalDate;
|
||||
import java.util.Map;
|
||||
import org.springframework.lang.Nullable;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.OuterComposite;
|
||||
import org.openapitools.model.User;
|
||||
import org.openapitools.model.XmlItem;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.service.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
@@ -7,7 +7,6 @@ package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.Client;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.service.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
package org.openapitools.api;
|
||||
|
||||
import org.openapitools.model.ModelApiResponse;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.openapitools.model.Pet;
|
||||
import org.openapitools.model.ResponseObjectWithDifferentFieldNames;
|
||||
import java.util.Set;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.service.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
@@ -8,7 +8,6 @@ package org.openapitools.api;
|
||||
import java.util.Map;
|
||||
import org.openapitools.model.Order;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.service.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
@@ -8,7 +8,6 @@ package org.openapitools.api;
|
||||
import java.time.OffsetDateTime;
|
||||
import org.openapitools.model.User;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.service.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
Reference in New Issue
Block a user