Skip to content

Commit 01b18dc

Browse files
authored
Bump quarkiverse-parent from 9 to 10 (#164)
Signed-off-by: Helber Belmiro <[email protected]> Signed-off-by: Helber Belmiro <[email protected]>
1 parent ed72144 commit 01b18dc

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

deployment/src/main/java/io/quarkiverse/openapi/generator/deployment/codegen/OpenApiGeneratorCodeGenBase.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ protected void generate(final Config config, final Path openApiFilePath, final P
7373
outDir,
7474
verbose,
7575
validateSpec)
76-
.withClassesCodeGenConfig(ClassCodegenConfigParser.parse(config, basePackage))
77-
.withCircuitBreakerConfig(CircuitBreakerConfigurationParser.parse(
78-
config));
76+
.withClassesCodeGenConfig(ClassCodegenConfigParser.parse(config, basePackage))
77+
.withCircuitBreakerConfig(CircuitBreakerConfigurationParser.parse(
78+
config));
7979

8080
config.getOptionalValue(getSkipFormModelPropertyName(openApiFilePath), String.class)
8181
.ifPresent(generator::withSkipFormModelConfig);

deployment/src/test/java/io/quarkiverse/openapi/generator/deployment/wrapper/OpenApiClientGeneratorWrapperTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void verifyDeprecatedFields() throws URISyntaxException, FileNotFoundException {
121121
assertThat(fields.stream()
122122
.flatMap(v -> v.getVariables().stream())
123123
.anyMatch(f -> f.getNameAsString().equals("lastTransitionTime")))
124-
.isTrue();
124+
.isTrue();
125125

126126
// this one we optionally removed the deprecated attribute
127127
final Optional<File> connectorDeploymentSpec = generatedFiles.stream()
@@ -133,7 +133,7 @@ void verifyDeprecatedFields() throws URISyntaxException, FileNotFoundException {
133133
assertThat(fields2.stream()
134134
.flatMap(v -> v.getVariables().stream())
135135
.anyMatch(f -> f.getNameAsString().equals("allowUpgrade")))
136-
.isFalse();
136+
.isFalse();
137137

138138
// this class has a deprecated attribute, so we check the default behavior
139139
final Optional<File> connectorDeploymentStatus = generatedFiles.stream()
@@ -145,7 +145,7 @@ void verifyDeprecatedFields() throws URISyntaxException, FileNotFoundException {
145145
assertThat(fields3.stream()
146146
.flatMap(v -> v.getVariables().stream())
147147
.anyMatch(f -> f.getNameAsString().equals("availableUpgrades")))
148-
.isTrue();
148+
.isTrue();
149149
}
150150

151151
@Test

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.quarkiverse</groupId>
66
<artifactId>quarkiverse-parent</artifactId>
7-
<version>9</version>
7+
<version>10</version>
88
</parent>
99
<groupId>io.quarkiverse.openapi.generator</groupId>
1010
<artifactId>quarkus-openapi-generator-parent</artifactId>

runtime/src/main/java/io/quarkiverse/openapi/generator/AuthConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class AuthConfig {
2626
* must be used.
2727
* <p>
2828
* quarkus.openapi-generator.petstore_json.auth.petstore_auth.token-propagation=true
29-
*
29+
*
3030
* @see AuthsConfig
3131
* @see SpecItemConfig
3232
* @see OpenApiGeneratorConfig
@@ -42,7 +42,7 @@ public class AuthConfig {
4242
* must be used.
4343
* <p>
4444
* quarkus.openapi-generator.petstore_json.auth.petstore_auth.header-name=MyParticularHttpHeaderName
45-
*
45+
*
4646
* @see AuthsConfig
4747
* @see SpecItemConfig
4848
* @see OpenApiGeneratorConfig
@@ -60,7 +60,7 @@ public class AuthConfig {
6060
* <p>
6161
* quarkus.openapi-generator.petstore_json.auth.petstore_basic_auth.username=MyUserName
6262
* quarkus.openapi-generator.petstore_json.auth.petstore_basic_auth.password=MyPassword
63-
*
63+
*
6464
* @see AuthsConfig
6565
* @see SpecItemConfig
6666
* @see OpenApiGeneratorConfig

runtime/src/main/java/io/quarkiverse/openapi/generator/AuthsConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class AuthsConfig {
1717
* name is sanitized into the name petstore_json and the security scheme name is sanitized into the name
1818
* "petstore_auth". And thus, the specific configurations for this security scheme must start with the prefix
1919
* quarkus.openapi-generator.petstore_json.auth.petstore_auth
20-
*
20+
*
2121
* @see SpecItemConfig
2222
* @see AuthConfig
2323
*/

runtime/src/main/java/io/quarkiverse/openapi/generator/SpecItemConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class SpecItemConfig {
1818
* <p>
1919
* For example, given a file named petstore.json, the following prefix must be used to configure the authentication
2020
* related information quarkus.openapi-generator.petstore_json.auth
21-
*
21+
*
2222
* @see AuthsConfig
2323
*/
2424
@ConfigItem

runtime/src/main/java/io/quarkiverse/openapi/generator/providers/AuthProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public interface AuthProvider extends ClientRequestFilter {
1111

1212
/**
1313
* Get the name of the Security Provider as defined in the OpenAPI Spec file.
14-
*
14+
*
1515
* @see <a href="https://spec.openapis.org/oas/v3.1.0#security-requirement-object">OpenAPI Spec - Security Requirement
1616
* Object</a>
1717
*/

runtime/src/test/java/io/quarkiverse/openapi/generator/providers/ApiKeyAuthenticationProviderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void tokenPropagationNotSupported() {
7878
authConfig.tokenPropagation = Optional.of(true);
7979
assertThatThrownBy(() -> new ApiKeyAuthenticationProvider(OPEN_API_FILE_SPEC_ID, AUTH_SCHEME_NAME, ApiKeyIn.header,
8080
API_KEY_NAME, generatorConfig))
81-
.hasMessageContaining("quarkus.openapi-generator.%s.auth.%s.token-propagation", OPEN_API_FILE_SPEC_ID,
82-
AUTH_SCHEME_NAME);
81+
.hasMessageContaining("quarkus.openapi-generator.%s.auth.%s.token-propagation", OPEN_API_FILE_SPEC_ID,
82+
AUTH_SCHEME_NAME);
8383
}
8484
}

0 commit comments

Comments
 (0)