From cee50c26a837ca8009caf14391d6c0221c1672ca Mon Sep 17 00:00:00 2001 From: frantuma Date: Sun, 12 Jun 2022 10:11:33 +0200 Subject: [PATCH] refs #4167 - fix spec version annotations package to handle java 9+ modules --- .../src/main/java/io/swagger/v3/oas/models/Components.java | 2 +- .../java/io/swagger/v3/oas/models/ExternalDocumentation.java | 2 +- .../src/main/java/io/swagger/v3/oas/models/OpenAPI.java | 2 +- .../src/main/java/io/swagger/v3/oas/models/Operation.java | 2 +- .../src/main/java/io/swagger/v3/oas/models/PathItem.java | 2 +- .../src/main/java/io/swagger/v3/oas/models/Paths.java | 2 +- .../io/swagger/v3/oas/{ => models}/annotations/OpenAPI30.java | 2 +- .../io/swagger/v3/oas/{ => models}/annotations/OpenAPI31.java | 2 +- .../java/io/swagger/v3/oas/models/callbacks/Callback.java | 2 +- .../main/java/io/swagger/v3/oas/models/examples/Example.java | 2 +- .../src/main/java/io/swagger/v3/oas/models/info/Contact.java | 2 +- .../src/main/java/io/swagger/v3/oas/models/info/Info.java | 2 +- .../src/main/java/io/swagger/v3/oas/models/info/License.java | 2 +- .../src/main/java/io/swagger/v3/oas/models/links/Link.java | 2 +- .../java/io/swagger/v3/oas/models/links/LinkParameter.java | 2 +- .../java/io/swagger/v3/oas/models/media/Discriminator.java | 2 +- .../main/java/io/swagger/v3/oas/models/media/Encoding.java | 2 +- .../java/io/swagger/v3/oas/models/media/EncodingProperty.java | 2 +- .../main/java/io/swagger/v3/oas/models/media/MediaType.java | 2 +- .../src/main/java/io/swagger/v3/oas/models/media/Schema.java | 4 ++-- .../src/main/java/io/swagger/v3/oas/models/media/XML.java | 2 +- .../java/io/swagger/v3/oas/models/parameters/Parameter.java | 2 +- .../java/io/swagger/v3/oas/models/parameters/RequestBody.java | 2 +- .../java/io/swagger/v3/oas/models/responses/ApiResponse.java | 2 +- .../java/io/swagger/v3/oas/models/responses/ApiResponses.java | 2 +- .../java/io/swagger/v3/oas/models/security/OAuthFlow.java | 2 +- .../java/io/swagger/v3/oas/models/security/OAuthFlows.java | 2 +- .../io/swagger/v3/oas/models/security/SecurityScheme.java | 2 +- .../main/java/io/swagger/v3/oas/models/servers/Server.java | 2 +- .../java/io/swagger/v3/oas/models/servers/ServerVariable.java | 2 +- .../src/main/java/io/swagger/v3/oas/models/tags/Tag.java | 2 +- 31 files changed, 32 insertions(+), 32 deletions(-) rename modules/swagger-models/src/main/java/io/swagger/v3/oas/{ => models}/annotations/OpenAPI30.java (64%) rename modules/swagger-models/src/main/java/io/swagger/v3/oas/{ => models}/annotations/OpenAPI31.java (64%) diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Components.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Components.java index b9a619cb82..0db5e18817 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Components.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Components.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.callbacks.Callback; import io.swagger.v3.oas.models.examples.Example; import io.swagger.v3.oas.models.headers.Header; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/ExternalDocumentation.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/ExternalDocumentation.java index cfca965161..c5f0ccb1be 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/ExternalDocumentation.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/ExternalDocumentation.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/OpenAPI.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/OpenAPI.java index 4cd5205ace..7f287f95f6 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/OpenAPI.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/OpenAPI.java @@ -1,7 +1,7 @@ package io.swagger.v3.oas.models; import com.fasterxml.jackson.annotation.JsonIgnore; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.info.Info; import io.swagger.v3.oas.models.media.Schema; import io.swagger.v3.oas.models.security.SecurityRequirement; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Operation.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Operation.java index 6eb4bf89a8..0ee0906788 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Operation.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Operation.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.callbacks.Callback; import io.swagger.v3.oas.models.parameters.Parameter; import io.swagger.v3.oas.models.parameters.RequestBody; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/PathItem.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/PathItem.java index 19e5454035..a36bdfbe70 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/PathItem.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/PathItem.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.parameters.Parameter; import io.swagger.v3.oas.models.servers.Server; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Paths.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Paths.java index d5ffda473c..ed7149084c 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Paths.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/Paths.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.LinkedHashMap; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/annotations/OpenAPI30.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/annotations/OpenAPI30.java similarity index 64% rename from modules/swagger-models/src/main/java/io/swagger/v3/oas/annotations/OpenAPI30.java rename to modules/swagger-models/src/main/java/io/swagger/v3/oas/models/annotations/OpenAPI30.java index e5ebf404f0..1080770a34 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/annotations/OpenAPI30.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/annotations/OpenAPI30.java @@ -1,4 +1,4 @@ -package io.swagger.v3.oas.annotations; +package io.swagger.v3.oas.models.annotations; import java.lang.annotation.Inherited; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/annotations/OpenAPI31.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/annotations/OpenAPI31.java similarity index 64% rename from modules/swagger-models/src/main/java/io/swagger/v3/oas/annotations/OpenAPI31.java rename to modules/swagger-models/src/main/java/io/swagger/v3/oas/models/annotations/OpenAPI31.java index 1a9f3c5b1c..9db5f713c7 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/annotations/OpenAPI31.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/annotations/OpenAPI31.java @@ -1,4 +1,4 @@ -package io.swagger.v3.oas.annotations; +package io.swagger.v3.oas.models.annotations; import java.lang.annotation.Inherited; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/callbacks/Callback.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/callbacks/Callback.java index 244d8afca2..4e3fb65527 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/callbacks/Callback.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/callbacks/Callback.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.callbacks; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.PathItem; import java.util.LinkedHashMap; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/examples/Example.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/examples/Example.java index d484a9e377..0d9813133a 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/examples/Example.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/examples/Example.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.examples; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; /** * Example diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/Contact.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/Contact.java index 0ffef619f9..fbb23a62f3 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/Contact.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/Contact.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.info; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/Info.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/Info.java index e02615a560..9fdc498581 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/Info.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/Info.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.info; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/License.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/License.java index 68292c68f3..42e1c3ad46 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/License.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/info/License.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.info; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/links/Link.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/links/Link.java index f746d0f639..e9ce8a6850 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/links/Link.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/links/Link.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.links; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.headers.Header; import io.swagger.v3.oas.models.servers.Server; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/links/LinkParameter.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/links/LinkParameter.java index 6319704131..aa912008e9 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/links/LinkParameter.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/links/LinkParameter.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.links; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Discriminator.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Discriminator.java index b3b09ef4c2..9293fa781c 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Discriminator.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Discriminator.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.media; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.LinkedHashMap; import java.util.Map; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Encoding.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Encoding.java index 9720ea188d..1bd7529151 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Encoding.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Encoding.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.media; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.headers.Header; import java.util.LinkedHashMap; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/EncodingProperty.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/EncodingProperty.java index a0ec9cc0c0..40894f195c 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/EncodingProperty.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/EncodingProperty.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.media; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.headers.Header; import java.util.LinkedHashMap; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/MediaType.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/MediaType.java index 37b8b38f9a..44bf334be8 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/MediaType.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/MediaType.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.media; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.examples.Example; import java.util.LinkedHashMap; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Schema.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Schema.java index ccb3765045..362851b15c 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Schema.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/Schema.java @@ -1,8 +1,8 @@ package io.swagger.v3.oas.models.media; import com.fasterxml.jackson.annotation.JsonIgnore; -import io.swagger.v3.oas.annotations.OpenAPI30; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI30; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.Components; import io.swagger.v3.oas.models.ExternalDocumentation; import io.swagger.v3.oas.models.SpecVersion; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/XML.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/XML.java index 94966f9111..0269dbf530 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/XML.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/XML.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.media; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/parameters/Parameter.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/parameters/Parameter.java index e5494e285c..14f22a61c2 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/parameters/Parameter.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/parameters/Parameter.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.parameters; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.examples.Example; import io.swagger.v3.oas.models.media.Content; import io.swagger.v3.oas.models.media.Schema; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/parameters/RequestBody.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/parameters/RequestBody.java index 6c14dbb6a2..14d2dea268 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/parameters/RequestBody.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/parameters/RequestBody.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.parameters; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.media.Content; /** diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/responses/ApiResponse.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/responses/ApiResponse.java index adb07466b7..6b82722b18 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/responses/ApiResponse.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/responses/ApiResponse.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.responses; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.headers.Header; import io.swagger.v3.oas.models.links.Link; import io.swagger.v3.oas.models.media.Content; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/responses/ApiResponses.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/responses/ApiResponses.java index e842ab19ff..4d049e30af 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/responses/ApiResponses.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/responses/ApiResponses.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.responses; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.LinkedHashMap; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/OAuthFlow.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/OAuthFlow.java index 03735cecb6..829b9f1dfa 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/OAuthFlow.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/OAuthFlow.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.security; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/OAuthFlows.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/OAuthFlows.java index 927d35168c..367b59b463 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/OAuthFlows.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/OAuthFlows.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.security; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/SecurityScheme.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/SecurityScheme.java index 418570ba8c..80b8a2856a 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/SecurityScheme.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/security/SecurityScheme.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.security; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; /** * SecurityScheme diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/servers/Server.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/servers/Server.java index e233634316..f43b6234e6 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/servers/Server.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/servers/Server.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.servers; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.Objects; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/servers/ServerVariable.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/servers/ServerVariable.java index ca0d6d150d..cad53ce1ed 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/servers/ServerVariable.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/servers/ServerVariable.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.servers; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import java.util.ArrayList; import java.util.List; diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/tags/Tag.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/tags/Tag.java index b45c7ef993..57fd2876a1 100644 --- a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/tags/Tag.java +++ b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/tags/Tag.java @@ -1,6 +1,6 @@ package io.swagger.v3.oas.models.tags; -import io.swagger.v3.oas.annotations.OpenAPI31; +import io.swagger.v3.oas.models.annotations.OpenAPI31; import io.swagger.v3.oas.models.ExternalDocumentation; import java.util.Objects;