Skip to content

Commit

Permalink
Regenerate samples (OpenAPITools#20127)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainAye committed Nov 24, 2024
1 parent 73ab2e8 commit b51dc03
Show file tree
Hide file tree
Showing 44 changed files with 218 additions and 218 deletions.
2 changes: 1 addition & 1 deletion samples/client/petstore/go/go-petstore/api_another_fake.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions samples/client/petstore/go/go-petstore/api_fake.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion samples/client/petstore/go/go-petstore/api_pet.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions samples/client/petstore/go/go-petstore/api_user.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ open class FakeAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"query": (wrappedValue: query.encodeToJSON(), isExplode: false),
"query": (wrappedValue: query.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down Expand Up @@ -524,9 +524,9 @@ open class FakeAPI {
var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"enum_query_string_array": (wrappedValue: enumQueryStringArray?.encodeToJSON(), isExplode: false),
"enum_query_string": (wrappedValue: enumQueryString?.encodeToJSON(), isExplode: false),
"enum_query_integer": (wrappedValue: enumQueryInteger?.encodeToJSON(), isExplode: false),
"enum_query_double": (wrappedValue: enumQueryDouble?.encodeToJSON(), isExplode: false),
"enum_query_string": (wrappedValue: enumQueryString?.encodeToJSON(), isExplode: true),
"enum_query_integer": (wrappedValue: enumQueryInteger?.encodeToJSON(), isExplode: true),
"enum_query_double": (wrappedValue: enumQueryDouble?.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down Expand Up @@ -585,10 +585,10 @@ open class FakeAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"required_string_group": (wrappedValue: requiredStringGroup.encodeToJSON(), isExplode: false),
"required_int64_group": (wrappedValue: requiredInt64Group.encodeToJSON(), isExplode: false),
"string_group": (wrappedValue: stringGroup?.encodeToJSON(), isExplode: false),
"int64_group": (wrappedValue: int64Group?.encodeToJSON(), isExplode: false),
"required_string_group": (wrappedValue: requiredStringGroup.encodeToJSON(), isExplode: true),
"required_int64_group": (wrappedValue: requiredInt64Group.encodeToJSON(), isExplode: true),
"string_group": (wrappedValue: stringGroup?.encodeToJSON(), isExplode: true),
"int64_group": (wrappedValue: int64Group?.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ open class UserAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"username": (wrappedValue: username.encodeToJSON(), isExplode: false),
"password": (wrappedValue: password.encodeToJSON(), isExplode: false),
"username": (wrappedValue: username.encodeToJSON(), isExplode: true),
"password": (wrappedValue: password.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ open class FakeAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"query": (wrappedValue: query.encodeToJSON(), isExplode: false),
"query": (wrappedValue: query.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down Expand Up @@ -452,9 +452,9 @@ open class FakeAPI {
var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"enum_query_string_array": (wrappedValue: enumQueryStringArray?.encodeToJSON(), isExplode: false),
"enum_query_string": (wrappedValue: enumQueryString?.encodeToJSON(), isExplode: false),
"enum_query_integer": (wrappedValue: enumQueryInteger?.encodeToJSON(), isExplode: false),
"enum_query_double": (wrappedValue: enumQueryDouble?.encodeToJSON(), isExplode: false),
"enum_query_string": (wrappedValue: enumQueryString?.encodeToJSON(), isExplode: true),
"enum_query_integer": (wrappedValue: enumQueryInteger?.encodeToJSON(), isExplode: true),
"enum_query_double": (wrappedValue: enumQueryDouble?.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down Expand Up @@ -505,10 +505,10 @@ open class FakeAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"required_string_group": (wrappedValue: requiredStringGroup.encodeToJSON(), isExplode: false),
"required_int64_group": (wrappedValue: requiredInt64Group.encodeToJSON(), isExplode: false),
"string_group": (wrappedValue: stringGroup?.encodeToJSON(), isExplode: false),
"int64_group": (wrappedValue: int64Group?.encodeToJSON(), isExplode: false),
"required_string_group": (wrappedValue: requiredStringGroup.encodeToJSON(), isExplode: true),
"required_int64_group": (wrappedValue: requiredInt64Group.encodeToJSON(), isExplode: true),
"string_group": (wrappedValue: stringGroup?.encodeToJSON(), isExplode: true),
"int64_group": (wrappedValue: int64Group?.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ open class UserAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"username": (wrappedValue: username.encodeToJSON(), isExplode: false),
"password": (wrappedValue: password.encodeToJSON(), isExplode: false),
"username": (wrappedValue: username.encodeToJSON(), isExplode: true),
"password": (wrappedValue: password.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ open class FakeAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"query": (wrappedValue: query.encodeToJSON(), isExplode: false),
"query": (wrappedValue: query.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down Expand Up @@ -608,9 +608,9 @@ open class FakeAPI {
var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"enum_query_string_array": (wrappedValue: enumQueryStringArray?.encodeToJSON(), isExplode: false),
"enum_query_string": (wrappedValue: enumQueryString?.encodeToJSON(), isExplode: false),
"enum_query_integer": (wrappedValue: enumQueryInteger?.encodeToJSON(), isExplode: false),
"enum_query_double": (wrappedValue: enumQueryDouble?.encodeToJSON(), isExplode: false),
"enum_query_string": (wrappedValue: enumQueryString?.encodeToJSON(), isExplode: true),
"enum_query_integer": (wrappedValue: enumQueryInteger?.encodeToJSON(), isExplode: true),
"enum_query_double": (wrappedValue: enumQueryDouble?.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down Expand Up @@ -678,10 +678,10 @@ open class FakeAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"required_string_group": (wrappedValue: requiredStringGroup.encodeToJSON(), isExplode: false),
"required_int64_group": (wrappedValue: requiredInt64Group.encodeToJSON(), isExplode: false),
"string_group": (wrappedValue: stringGroup?.encodeToJSON(), isExplode: false),
"int64_group": (wrappedValue: int64Group?.encodeToJSON(), isExplode: false),
"required_string_group": (wrappedValue: requiredStringGroup.encodeToJSON(), isExplode: true),
"required_int64_group": (wrappedValue: requiredInt64Group.encodeToJSON(), isExplode: true),
"string_group": (wrappedValue: stringGroup?.encodeToJSON(), isExplode: true),
"int64_group": (wrappedValue: int64Group?.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ open class UserAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"username": (wrappedValue: username.encodeToJSON(), isExplode: false),
"password": (wrappedValue: password.encodeToJSON(), isExplode: false),
"username": (wrappedValue: username.encodeToJSON(), isExplode: true),
"password": (wrappedValue: password.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ open class FakeAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"query": (wrappedValue: query.encodeToJSON(), isExplode: false),
"query": (wrappedValue: query.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down Expand Up @@ -568,9 +568,9 @@ open class FakeAPI {
var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"enum_query_string_array": (wrappedValue: enumQueryStringArray?.encodeToJSON(), isExplode: false),
"enum_query_string": (wrappedValue: enumQueryString?.encodeToJSON(), isExplode: false),
"enum_query_integer": (wrappedValue: enumQueryInteger?.encodeToJSON(), isExplode: false),
"enum_query_double": (wrappedValue: enumQueryDouble?.encodeToJSON(), isExplode: false),
"enum_query_string": (wrappedValue: enumQueryString?.encodeToJSON(), isExplode: true),
"enum_query_integer": (wrappedValue: enumQueryInteger?.encodeToJSON(), isExplode: true),
"enum_query_double": (wrappedValue: enumQueryDouble?.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down Expand Up @@ -629,10 +629,10 @@ open class FakeAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"required_string_group": (wrappedValue: requiredStringGroup.encodeToJSON(), isExplode: false),
"required_int64_group": (wrappedValue: requiredInt64Group.encodeToJSON(), isExplode: false),
"string_group": (wrappedValue: stringGroup?.encodeToJSON(), isExplode: false),
"int64_group": (wrappedValue: int64Group?.encodeToJSON(), isExplode: false),
"required_string_group": (wrappedValue: requiredStringGroup.encodeToJSON(), isExplode: true),
"required_int64_group": (wrappedValue: requiredInt64Group.encodeToJSON(), isExplode: true),
"string_group": (wrappedValue: stringGroup?.encodeToJSON(), isExplode: true),
"int64_group": (wrappedValue: int64Group?.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down Expand Up @@ -781,7 +781,7 @@ open class FakeAPI {
var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"pipe": (wrappedValue: pipe.encodeToJSON(), isExplode: false),
"ioutil": (wrappedValue: ioutil.encodeToJSON(), isExplode: false),
"ioutil": (wrappedValue: ioutil.encodeToJSON(), isExplode: true),
"http": (wrappedValue: http.encodeToJSON(), isExplode: false),
"url": (wrappedValue: url.encodeToJSON(), isExplode: false),
"context": (wrappedValue: context.encodeToJSON(), isExplode: true),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ open class UserAPI {

var localVariableUrlComponents = URLComponents(string: localVariableURLString)
localVariableUrlComponents?.queryItems = APIHelper.mapValuesToQueryItems([
"username": (wrappedValue: username.encodeToJSON(), isExplode: false),
"password": (wrappedValue: password.encodeToJSON(), isExplode: false),
"username": (wrappedValue: username.encodeToJSON(), isExplode: true),
"password": (wrappedValue: password.encodeToJSON(), isExplode: true),
])

let localVariableNillableHeaders: [String: Any?] = [
Expand Down
Loading

0 comments on commit b51dc03

Please sign in to comment.