Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions generated/generated_v2.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,7 @@ pub fn logoutUserRaw(client: *Client) !RawResponse {
return requestRaw(client, std.http.Method.GET, uri_buf.written(), payload);
}


pub const resources = struct {
pub const pet = struct {
pub fn addpet(client: *Client, requestBody: Pet) !void {
Expand Down Expand Up @@ -1121,12 +1122,12 @@ pub const resources = struct {
return updateUser(client, username, requestBody);
}
pub const createwitharray = struct {
pub fn create(client: *Client, requestBody: []const std.json.Value) !void {
pub fn createuserswitharrayinput_(client: *Client, requestBody: []const std.json.Value) !void {
return createUsersWithArrayInput(client, requestBody);
}
};
pub const createwithlist = struct {
pub fn create(client: *Client, requestBody: []const std.json.Value) !void {
pub fn createuserswithlistinput_(client: *Client, requestBody: []const std.json.Value) !void {
return createUsersWithListInput(client, requestBody);
}
};
Expand Down
5 changes: 3 additions & 2 deletions generated/generated_v2_yaml.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,7 @@ pub fn logoutUserRaw(client: *Client) !RawResponse {
return requestRaw(client, std.http.Method.GET, uri_buf.written(), payload);
}


pub const resources = struct {
pub const pet = struct {
pub fn addpet(client: *Client, requestBody: Pet) !void {
Expand Down Expand Up @@ -1121,12 +1122,12 @@ pub const resources = struct {
return updateUser(client, username, requestBody);
}
pub const createwitharray = struct {
pub fn create(client: *Client, requestBody: []const std.json.Value) !void {
pub fn createuserswitharrayinput_(client: *Client, requestBody: []const std.json.Value) !void {
return createUsersWithArrayInput(client, requestBody);
}
};
pub const createwithlist = struct {
pub fn create(client: *Client, requestBody: []const std.json.Value) !void {
pub fn createuserswithlistinput_(client: *Client, requestBody: []const std.json.Value) !void {
return createUsersWithListInput(client, requestBody);
}
};
Expand Down
5 changes: 3 additions & 2 deletions generated/generated_v3.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,7 @@ pub fn logoutUserRaw(client: *Client) !RawResponse {
return requestRaw(client, std.http.Method.GET, uri_buf.written(), payload);
}


pub const resources = struct {
pub const pet = struct {
pub fn addpet(client: *Client, requestBody: Pet) !Owned(Pet) {
Expand Down Expand Up @@ -1188,10 +1189,10 @@ pub const resources = struct {
return updateUser(client, username, requestBody);
}
pub const createwithlist = struct {
pub fn create(client: *Client, requestBody: []const std.json.Value) !Owned(User) {
pub fn createuserswithlistinput_(client: *Client, requestBody: []const std.json.Value) !Owned(User) {
return createUsersWithListInput(client, requestBody);
}
pub fn createResult(client: *Client, requestBody: []const std.json.Value) !ApiResult(User) {
pub fn createuserswithlistinput_Result(client: *Client, requestBody: []const std.json.Value) !ApiResult(User) {
return createUsersWithListInputResult(client, requestBody);
}
};
Expand Down
1 change: 1 addition & 0 deletions generated/generated_v32.zig
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,7 @@ pub fn findPetsByStatusResult(client: *Client, status: ?[]const u8) !ApiResult([
return parseRawResponse([]const std.json.Value, try findPetsByStatusRaw(client, status));
}


pub const resources = struct {
pub const pet = struct {
pub fn addpet(client: *Client, requestBody: Pet) !Owned(Pet) {
Expand Down
5 changes: 3 additions & 2 deletions generated/generated_v3_yaml.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,7 @@ pub fn logoutUserRaw(client: *Client) !RawResponse {
return requestRaw(client, std.http.Method.GET, uri_buf.written(), payload);
}


pub const resources = struct {
pub const pet = struct {
pub fn addpet(client: *Client, requestBody: Pet) !Owned(Pet) {
Expand Down Expand Up @@ -1188,10 +1189,10 @@ pub const resources = struct {
return updateUser(client, username, requestBody);
}
pub const createwithlist = struct {
pub fn create(client: *Client, requestBody: []const std.json.Value) !Owned(User) {
pub fn createuserswithlistinput_(client: *Client, requestBody: []const std.json.Value) !Owned(User) {
return createUsersWithListInput(client, requestBody);
}
pub fn createResult(client: *Client, requestBody: []const std.json.Value) !ApiResult(User) {
pub fn createuserswithlistinput_Result(client: *Client, requestBody: []const std.json.Value) !ApiResult(User) {
return createUsersWithListInputResult(client, requestBody);
}
};
Expand Down
Loading
Loading