Skip to content

Commit 0c5cd26

Browse files
chore(deps): update openapi-generator to v7.6.0 (#3148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Pierre Millot <[email protected]>
1 parent 00b874a commit 0c5cd26

File tree

18 files changed

+46
-48
lines changed

18 files changed

+46
-48
lines changed

generators/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repositories {
1111
}
1212

1313
dependencies {
14-
compileOnly 'org.openapitools:openapi-generator:7.4.0'
14+
compileOnly 'org.openapitools:openapi-generator:7.6.0'
1515
}
1616

1717
tasks.withType(JavaCompile) {

generators/src/main/java/com/algolia/codegen/AlgoliaCSharpGenerator.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,6 @@
1919

2020
public class AlgoliaCSharpGenerator extends CSharpClientCodegen {
2121

22-
// This is used for the CTS generation
23-
private static final AlgoliaCSharpGenerator INSTANCE = new AlgoliaCSharpGenerator();
24-
25-
public AlgoliaCSharpGenerator() {
26-
super();
27-
reservedWords.add("source");
28-
}
29-
30-
/** Convert a text to a valid csharp identifier. */
31-
public static String formatIdentifier(String text) {
32-
return INSTANCE.escapeReservedWord(text);
33-
}
34-
3522
private String CLIENT;
3623

3724
@Override

generators/src/main/java/com/algolia/codegen/AlgoliaGoGenerator.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ public void processOpts() {
4141
// Generation notice, added on every generated files
4242
Helpers.setGenerationBanner(additionalProperties);
4343

44+
typeMapping.put("object", "map[string]any");
45+
typeMapping.put("AnyType", "any");
46+
4447
apiTestTemplateFiles.clear();
4548
modelTestTemplateFiles.clear();
4649
apiDocTemplateFiles.clear();

generators/src/main/java/com/algolia/codegen/AlgoliaSwiftGenerator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import com.samskivert.mustache.Mustache;
1111
import io.swagger.v3.oas.models.OpenAPI;
1212
import io.swagger.v3.oas.models.Operation;
13-
import io.swagger.v3.oas.models.media.ArraySchema;
1413
import io.swagger.v3.oas.models.media.ComposedSchema;
1514
import io.swagger.v3.oas.models.media.Schema;
1615
import io.swagger.v3.oas.models.media.StringSchema;
@@ -374,7 +373,7 @@ public String getTypeDeclaration(Schema p) {
374373
Schema<?> schema = ModelUtils.unaliasSchema(this.openAPI, p, importMapping);
375374
Schema<?> target = ModelUtils.isGenerateAliasAsModel() ? p : schema;
376375
if (ModelUtils.isArraySchema(target)) {
377-
Schema<?> items = getSchemaItems((ArraySchema) schema);
376+
Schema<?> items = ModelUtils.getSchemaItems(schema);
378377
return ModelUtils.isSet(target) && ModelUtils.isObjectSchema(items)
379378
? "Set<" + getTypeDeclaration(items) + ">"
380379
: "[" + getTypeDeclaration(items) + "]";
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.algolia.codegen.cts.lambda;
22

3-
import com.algolia.codegen.AlgoliaCSharpGenerator;
43
import com.samskivert.mustache.Mustache;
54
import com.samskivert.mustache.Template;
65
import java.io.IOException;
@@ -11,7 +10,12 @@ public class CSharpIdentifierLambda implements Mustache.Lambda {
1110
@Override
1211
public void execute(Template.Fragment frag, Writer out) throws IOException {
1312
String text = frag.execute();
14-
var formatted = AlgoliaCSharpGenerator.formatIdentifier(text);
15-
out.write(formatted);
13+
if (text.equals("source")) {
14+
out.write("varSource");
15+
16+
return;
17+
}
18+
19+
out.write(text);
1620
}
1721
}

playground/go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
1414
github.com/go-playground/locales v0.14.1 // indirect
1515
github.com/go-playground/universal-translator v0.18.1 // indirect
16-
github.com/go-playground/validator/v10 v10.21.0 // indirect
16+
github.com/go-playground/validator/v10 v10.22.0 // indirect
1717
github.com/leodido/go-urn v1.4.0 // indirect
1818
golang.org/x/crypto v0.22.0 // indirect
1919
golang.org/x/net v0.24.0 // indirect

playground/go/go.sum

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/o
88
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
99
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
1010
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
11-
github.com/go-playground/validator/v10 v10.19.0 h1:ol+5Fu+cSq9JD7SoSqe04GMI92cbn0+wvQ3bZ8b/AU4=
12-
github.com/go-playground/validator/v10 v10.19.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
13-
github.com/go-playground/validator/v10 v10.21.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
11+
github.com/go-playground/validator/v10 v10.22.0 h1:k6HsTZ0sTnROkhS//R0O+55JgM8C4Bx7ia+JlgcnOao=
12+
github.com/go-playground/validator/v10 v10.22.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
1413
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
1514
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
1615
github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=

playground/go/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func testSearch(appID, apiKey string) int {
1717
searchClient.NewApiAddOrUpdateObjectRequest(
1818
indexName,
1919
"1",
20-
map[string]interface{}{
20+
map[string]any{
2121
"name": "Foo",
2222
"age": 42,
2323
"city": "Paris",

scripts/install.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
# You can install this by running `source scripts/install.sh` or by adding this to your .bashrc/.zshrc:
55
# [[ -s "$HOME/<path to api-clients-automation>/scripts/install.sh" ]] && source "$HOME/<path to api-clients-automation>/scripts/install.sh"
66

7+
# for extra DX you could also add the following shortcuts to your .bashrc/.zshrc:
8+
# alias ag="apic generate"
9+
# alias acg="apic cts generate"
10+
# alias acr="apic cts run"
11+
712
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
813

914
apic() {
@@ -79,7 +84,7 @@ _apic_format_complete() {
7984
if [[ COMP_CWORD -eq 2 ]]; then
8085
COMPREPLY=($(compgen -W "$(_list_languages)" -- "$cur"))
8186
elif [[ COMP_CWORD -eq 3 ]]; then
82-
COMPREPLY=($(compgen -d -- "$cur"))
87+
COMPREPLY=($(compgen -d -S / -- "$cur"))
8388
fi
8489
}
8590

scripts/pre-gen/generateOpenapitools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export async function generateOpenapitools(gens: Generator[], mode: GeneratorMod
4040
JSON.stringify(
4141
{
4242
'generator-cli': {
43-
version: '7.4.0',
43+
version: '7.6.0',
4444
generators,
4545
},
4646
},

specs/common/schemas/IndexSettings.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,13 +778,14 @@ hitsPerPage:
778778
- Pagination
779779

780780
userData:
781+
type: object
781782
example:
782783
settingID: f2a7b51e3503acc6a39b3784ffb84300
783784
pluginVersion: 1.6.0
784785
description: |
785786
An object with custom data.
786787
787-
You can store up to 32&nbsp;kB as custom data.
788+
You can store up to 32kB as custom data.
788789
default: {}
789790
x-categories:
790791
- Advanced

templates/csharp/api.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace Algolia.Search.Clients;
4040
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
4141
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
4242
/// <returns>Task of {{> return_type_doc}}</returns>
43-
Task{{#returnType}}<{{> return_type}}>{{/returnType}} {{operationId}}Async{{#returnType}}{{#vendorExtensions.x-is-generic}}<T>{{/vendorExtensions.x-is-generic}}{{/returnType}}({{#allParams}}{{{dataType}}}{{#isEnumRef}}{{^required}}?{{/required}}{{/isEnumRef}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}RequestOptions options = null, CancellationToken cancellationToken = default);
43+
Task{{#returnType}}<{{> return_type}}>{{/returnType}} {{operationId}}Async{{#returnType}}{{#vendorExtensions.x-is-generic}}<T>{{/vendorExtensions.x-is-generic}}{{/returnType}}({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}RequestOptions options = null, CancellationToken cancellationToken = default);
4444

4545
/// <summary>
4646
/// {{{notes}}} (Synchronous version)
@@ -57,7 +57,7 @@ namespace Algolia.Search.Clients;
5757
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
5858
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
5959
/// <returns>{{> return_type_doc}}</returns>
60-
{{^returnType}}void{{/returnType}}{{#returnType}}{{> return_type}}{{/returnType}} {{operationId}}{{#returnType}}{{#vendorExtensions.x-is-generic}}<T>{{/vendorExtensions.x-is-generic}}{{/returnType}}({{#allParams}}{{{dataType}}}{{#isEnumRef}}{{^required}}?{{/required}}{{/isEnumRef}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}RequestOptions options = null, CancellationToken cancellationToken = default);
60+
{{^returnType}}void{{/returnType}}{{#returnType}}{{> return_type}}{{/returnType}} {{operationId}}{{#returnType}}{{#vendorExtensions.x-is-generic}}<T>{{/vendorExtensions.x-is-generic}}{{/returnType}}({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}RequestOptions options = null, CancellationToken cancellationToken = default);
6161

6262
{{/operation}}
6363
}
@@ -152,7 +152,7 @@ namespace Algolia.Search.Clients;
152152
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
153153
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
154154
/// <returns>Task of {{> return_type_doc}}</returns>
155-
public async Task{{#returnType}}<{{> return_type}}>{{/returnType}} {{operationId}}Async{{#returnType}}{{#vendorExtensions.x-is-generic}}<T>{{/vendorExtensions.x-is-generic}}{{/returnType}}({{#allParams}}{{{dataType}}}{{#isEnumRef}}{{^required}}?{{/required}}{{/isEnumRef}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}RequestOptions options = null, CancellationToken cancellationToken = default)
155+
public async Task{{#returnType}}<{{> return_type}}>{{/returnType}} {{operationId}}Async{{#returnType}}{{#vendorExtensions.x-is-generic}}<T>{{/vendorExtensions.x-is-generic}}{{/returnType}}({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}RequestOptions options = null, CancellationToken cancellationToken = default)
156156
{
157157
{{#allParams}}
158158
{{#required}}
@@ -246,7 +246,7 @@ namespace Algolia.Search.Clients;
246246
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
247247
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
248248
/// <returns>{{> return_type_doc}}</returns>
249-
public {{^returnType}}void{{/returnType}}{{#returnType}}{{> return_type}}{{/returnType}} {{operationId}}{{#vendorExtensions.x-is-generic}}<T>{{/vendorExtensions.x-is-generic}}({{#allParams}}{{{dataType}}}{{#isEnumRef}}{{^required}}?{{/required}}{{/isEnumRef}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}RequestOptions options = null, CancellationToken cancellationToken = default) =>
249+
public {{^returnType}}void{{/returnType}}{{#returnType}}{{> return_type}}{{/returnType}} {{operationId}}{{#vendorExtensions.x-is-generic}}<T>{{/vendorExtensions.x-is-generic}}({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = default{{/optionalMethodArgument}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}}RequestOptions options = null, CancellationToken cancellationToken = default) =>
250250
AsyncHelper.RunSync(() => {{operationId}}Async{{#vendorExtensions.x-is-generic}}<T>{{/vendorExtensions.x-is-generic}}({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}{{#allParams.0}}, {{/allParams.0}} options, cancellationToken));
251251

252252
{{/supportsAsync}}

templates/csharp/modelGeneric.mustache

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,36 +126,36 @@
126126
/// </summary>
127127
{{#readWriteVars}}
128128
{{#required}}
129-
/// <param name="{{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}}">{{description}}{{^description}}{{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}}{{/description}}{{#required}} (required){{/required}}{{#defaultValue}} (default to {{.}}){{/defaultValue}}.</param>
129+
/// <param name="{{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}">{{description}}{{^description}}{{nameInCamelCase}}{{/description}}{{#required}} (required){{/required}}{{#defaultValue}} (default to {{.}}){{/defaultValue}}.</param>
130130
{{/required}}
131131
{{/readWriteVars}}
132132
{{#hasOnlyReadOnly}}
133133
[JsonConstructor]
134134
{{/hasOnlyReadOnly}}
135-
public {{classname}}({{#requiredVars}}{{> generic_type}} {{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}}{{^-last}}, {{/-last}}{{/requiredVars}}){{#parent}} : base({{#parentVars}}{{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}}{{^-last}}, {{/-last}}{{/parentVars}}){{/parent}}
135+
public {{classname}}({{#requiredVars}}{{> generic_type}} {{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}{{^-last}}, {{/-last}}{{/requiredVars}}){{#parent}} : base({{#parentVars}}{{nameInCamelCase}}{{^-last}}, {{/-last}}{{/parentVars}}){{/parent}}
136136
{
137137
{{#vars}}
138138
{{^isInherited}}
139139
{{^isReadOnly}}
140140
{{#required}}
141141
{{^conditionalSerialization}}
142142
{{^vendorExtensions.x-csharp-value-type}}
143-
{{name}} = {{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}} ?? throw new ArgumentNullException(nameof({{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}}));
143+
{{name}} = {{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}} ?? throw new ArgumentNullException(nameof({{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}));
144144
{{/vendorExtensions.x-csharp-value-type}}
145145
{{#vendorExtensions.x-csharp-value-type}}
146-
{{name}} = {{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}};
146+
{{name}} = {{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}};
147147
{{/vendorExtensions.x-csharp-value-type}}
148148
{{/conditionalSerialization}}
149149
{{#conditionalSerialization}}
150150
{{^vendorExtensions.x-csharp-value-type}}
151-
if ({{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}} == null)
151+
if ({{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}} == null)
152152
{
153-
throw new ArgumentNullException(nameof({{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}}));
153+
throw new ArgumentNullException(nameof({{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}}));
154154
}
155-
_{{name}} = {{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}};
155+
_{{name}} = {{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}};
156156
{{/vendorExtensions.x-csharp-value-type}}
157157
{{#vendorExtensions.x-csharp-value-type}}
158-
_{{name}} = {{#lambda.camelcase_param}}{{name}}{{/lambda.camelcase_param}};
158+
_{{name}} = {{#lambda.camelcase_sanitize_param}}{{name}}{{/lambda.camelcase_sanitize_param}};
159159
{{/vendorExtensions.x-csharp-value-type}}
160160
{{/conditionalSerialization}}
161161
{{/required}}

templates/java/pojo.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public {{classname}}{{#vendorExtensions.x-has-child-generic}}<T>{{/vendorExtensi
5454
return this;
5555
}
5656
{{#isArray}}
57-
public {{classname}}{{#x-has-child-generic}}<T>{{/x-has-child-generic}} add{{nameInCamelCase}}({{#vendorExtensions.x-has-child-generic}}{{{complexType}}}<T>{{/vendorExtensions.x-has-child-generic}}{{^vendorExtensions.x-has-child-generic}}{{#items}}{{> generic_type}}{{/items}}{{/vendorExtensions.x-has-child-generic}} {{name}}Item) {
57+
public {{classname}}{{#x-has-child-generic}}<T>{{/x-has-child-generic}} add{{nameInPascalCase}}({{#vendorExtensions.x-has-child-generic}}{{{complexType}}}<T>{{/vendorExtensions.x-has-child-generic}}{{^vendorExtensions.x-has-child-generic}}{{#items}}{{> generic_type}}{{/items}}{{/vendorExtensions.x-has-child-generic}} {{name}}Item) {
5858
{{^required}}
5959
if (this.{{name}} == null) {
6060
this.{{name}} = new ArrayList<>();
@@ -65,7 +65,7 @@ public {{classname}}{{#vendorExtensions.x-has-child-generic}}<T>{{/vendorExtensi
6565
}
6666
{{/isArray}}
6767
{{#isMap}}
68-
public {{classname}}{{#x-has-child-generic}}<T>{{/x-has-child-generic}} put{{nameInCamelCase}}(String key, {{#items}}{{> generic_type}}{{/items}} {{name}}Item) {
68+
public {{classname}}{{#x-has-child-generic}}<T>{{/x-has-child-generic}} put{{nameInPascalCase}}(String key, {{#items}}{{> generic_type}}{{/items}} {{name}}Item) {
6969
{{^required}}
7070
if (this.{{name}} == null) {
7171
this.{{name}} = new HashMap<>();

tests/output/csharp/src/ClientExtensionsTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public async Task ShouldBrowseObjects()
164164
Page = 0,
165165
ProcessingTimeMS = 1,
166166
Query = "",
167-
VarParams = ""
167+
Params = ""
168168
}
169169
)
170170
)
@@ -191,7 +191,7 @@ public async Task ShouldBrowseObjects()
191191
Page = 0,
192192
ProcessingTimeMS = 1,
193193
Query = "",
194-
VarParams = ""
194+
Params = ""
195195
}
196196
)
197197
)
@@ -218,7 +218,7 @@ public async Task ShouldBrowseObjects()
218218
Page = 0,
219219
ProcessingTimeMS = 1,
220220
Query = "",
221-
VarParams = ""
221+
Params = ""
222222
}
223223
)
224224
)

tests/output/csharp/src/RetryStrategyTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public async Task CanOverrideHost()
160160
ProcessingTimeMS = 1,
161161
Hits = new List<object>(),
162162
Query = "",
163-
VarParams = ""
163+
Params = ""
164164
},
165165
JsonConfig.Options
166166
)

tests/output/go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
1717
github.com/go-playground/locales v0.14.1 // indirect
1818
github.com/go-playground/universal-translator v0.18.1 // indirect
19-
github.com/go-playground/validator/v10 v10.21.0 // indirect
19+
github.com/go-playground/validator/v10 v10.22.0 // indirect
2020
github.com/leodido/go-urn v1.4.0 // indirect
2121
github.com/pmezard/go-difflib v1.0.0 // indirect
2222
golang.org/x/crypto v0.22.0 // indirect

tests/output/go/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/o
88
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
99
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
1010
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
11-
github.com/go-playground/validator/v10 v10.21.0 h1:4fZA11ovvtkdgaeev9RGWPgc1uj3H8W+rNYyH/ySBb0=
12-
github.com/go-playground/validator/v10 v10.21.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
11+
github.com/go-playground/validator/v10 v10.22.0 h1:k6HsTZ0sTnROkhS//R0O+55JgM8C4Bx7ia+JlgcnOao=
12+
github.com/go-playground/validator/v10 v10.22.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
1313
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
1414
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
1515
github.com/kinbiko/jsonassert v1.1.1 h1:DB12divY+YB+cVpHULLuKePSi6+ui4M/shHSzJISkSE=

0 commit comments

Comments
 (0)