fix: remove extra params causing 404

This commit is contained in:
knoflook 2023-01-27 11:04:50 +01:00
parent 9e5aecc16f
commit 3bed130ed7
100 changed files with 111 additions and 136 deletions

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIActivitiesIDRatesReader is a Reader for the GetAPIActivitiesIDRates structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIActivitiesIDReader is a Reader for the GetAPIActivitiesID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIActivitiesReader is a Reader for the GetAPIActivities structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/swag"
"github.com/go-openapi/validate"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPIActivitiesIDMetaReader is a Reader for the PatchAPIActivitiesIDMeta structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPatchAPIActivitiesIDParams creates a new PatchAPIActivitiesIDParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPIActivitiesIDReader is a Reader for the PatchAPIActivitiesID structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPIActivitiesIDRatesParams creates a new PostAPIActivitiesIDRatesParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPIActivitiesIDRatesReader is a Reader for the PostAPIActivitiesIDRates structure.

View File

@ -15,7 +15,7 @@ import (
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPIActivitiesParams creates a new PostAPIActivitiesParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPIActivitiesReader is a Reader for the PostAPIActivities structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPICustomersIDRatesReader is a Reader for the GetAPICustomersIDRates structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPICustomersIDReader is a Reader for the GetAPICustomersID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPICustomersReader is a Reader for the GetAPICustomers structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/swag"
"github.com/go-openapi/validate"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPICustomersIDMetaReader is a Reader for the PatchAPICustomersIDMeta structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPatchAPICustomersIDParams creates a new PatchAPICustomersIDParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPICustomersIDReader is a Reader for the PatchAPICustomersID structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPICustomersIDRatesParams creates a new PostAPICustomersIDRatesParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPICustomersIDRatesReader is a Reader for the PostAPICustomersIDRates structure.

View File

@ -15,7 +15,7 @@ import (
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPICustomersParams creates a new PostAPICustomersParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPICustomersReader is a Reader for the PostAPICustomers structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIConfigI18nReader is a Reader for the GetAPIConfigI18n structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIConfigTimesheetReader is a Reader for the GetAPIConfigTimesheet structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIPluginsReader is a Reader for the GetAPIPlugins structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIVersionReader is a Reader for the GetAPIVersion structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIExpensesIDReader is a Reader for the GetAPIExpensesID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIExpensesReader is a Reader for the GetAPIExpenses structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPIExpensesIDDuplicateReader is a Reader for the PatchAPIExpensesIDDuplicate structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/swag"
"github.com/go-openapi/validate"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPIExpensesIDMetaReader is a Reader for the PatchAPIExpensesIDMeta structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPatchAPIExpensesIDParams creates a new PatchAPIExpensesIDParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPIExpensesIDReader is a Reader for the PatchAPIExpensesID structure.

View File

@ -15,7 +15,7 @@ import (
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPIExpensesParams creates a new PostAPIExpensesParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPIExpensesReader is a Reader for the PostAPIExpenses structure.

View File

@ -10,18 +10,18 @@ import (
httptransport "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/client/activity"
"github.com/decentral1se/go-kimai/client/customer"
"github.com/decentral1se/go-kimai/client/default_operations"
"github.com/decentral1se/go-kimai/client/expense"
"github.com/decentral1se/go-kimai/client/kiosk"
"github.com/decentral1se/go-kimai/client/meta_field"
"github.com/decentral1se/go-kimai/client/project"
"github.com/decentral1se/go-kimai/client/tag"
"github.com/decentral1se/go-kimai/client/task"
"github.com/decentral1se/go-kimai/client/team"
"github.com/decentral1se/go-kimai/client/timesheet"
"github.com/decentral1se/go-kimai/client/user"
"git.autonomic.zone/knoflook/go-kimai/client/activity"
"git.autonomic.zone/knoflook/go-kimai/client/customer"
"git.autonomic.zone/knoflook/go-kimai/client/default_operations"
"git.autonomic.zone/knoflook/go-kimai/client/expense"
"git.autonomic.zone/knoflook/go-kimai/client/kiosk"
"git.autonomic.zone/knoflook/go-kimai/client/meta_field"
"git.autonomic.zone/knoflook/go-kimai/client/project"
"git.autonomic.zone/knoflook/go-kimai/client/tag"
"git.autonomic.zone/knoflook/go-kimai/client/task"
"git.autonomic.zone/knoflook/go-kimai/client/team"
"git.autonomic.zone/knoflook/go-kimai/client/timesheet"
"git.autonomic.zone/knoflook/go-kimai/client/user"
)
// Default go kimai HTTP client.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIKiosksIDReader is a Reader for the GetAPIKiosksID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIKiosksReader is a Reader for the GetAPIKiosks structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIMetafieldsReader is a Reader for the GetAPIMetafields structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIProjectsIDRatesReader is a Reader for the GetAPIProjectsIDRates structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIProjectsIDReader is a Reader for the GetAPIProjectsID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIProjectsReader is a Reader for the GetAPIProjects structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/swag"
"github.com/go-openapi/validate"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPIProjectsIDMetaReader is a Reader for the PatchAPIProjectsIDMeta structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPatchAPIProjectsIDParams creates a new PatchAPIProjectsIDParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPIProjectsIDReader is a Reader for the PatchAPIProjectsID structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPIProjectsIDRatesParams creates a new PostAPIProjectsIDRatesParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPIProjectsIDRatesReader is a Reader for the PostAPIProjectsIDRates structure.

View File

@ -15,7 +15,7 @@ import (
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPIProjectsParams creates a new PostAPIProjectsParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPIProjectsReader is a Reader for the PostAPIProjects structure.

View File

@ -15,7 +15,7 @@ import (
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPITagsParams creates a new PostAPITagsParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPITagsReader is a Reader for the PostAPITags structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPITasksIDReader is a Reader for the GetAPITasksID structure.

View File

@ -15,7 +15,7 @@ import (
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewGetAPITasksParams creates a new GetAPITasksParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPITasksReader is a Reader for the GetAPITasks structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITasksIDAssignReader is a Reader for the PatchAPITasksIDAssign structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITasksIDCloseReader is a Reader for the PatchAPITasksIDClose structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPatchAPITasksIDLogParams creates a new PatchAPITasksIDLogParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITasksIDLogReader is a Reader for the PatchAPITasksIDLog structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPatchAPITasksIDParams creates a new PatchAPITasksIDParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITasksIDReopenReader is a Reader for the PatchAPITasksIDReopen structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITasksIDReader is a Reader for the PatchAPITasksID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITasksIDStartReader is a Reader for the PatchAPITasksIDStart structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITasksIDStopReader is a Reader for the PatchAPITasksIDStop structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITasksIDUnassignReader is a Reader for the PatchAPITasksIDUnassign structure.

View File

@ -15,7 +15,7 @@ import (
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPITasksParams creates a new PostAPITasksParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPITasksReader is a Reader for the PostAPITasks structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// DeleteAPITeamsIDActivitiesActivityIDReader is a Reader for the DeleteAPITeamsIDActivitiesActivityID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// DeleteAPITeamsIDCustomersCustomerIDReader is a Reader for the DeleteAPITeamsIDCustomersCustomerID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// DeleteAPITeamsIDMembersUserIDReader is a Reader for the DeleteAPITeamsIDMembersUserID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// DeleteAPITeamsIDProjectsProjectIDReader is a Reader for the DeleteAPITeamsIDProjectsProjectID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPITeamsIDReader is a Reader for the GetAPITeamsID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPITeamsReader is a Reader for the GetAPITeams structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPatchAPITeamsIDParams creates a new PatchAPITeamsIDParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITeamsIDReader is a Reader for the PatchAPITeamsID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPITeamsIDActivitiesActivityIDReader is a Reader for the PostAPITeamsIDActivitiesActivityID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPITeamsIDCustomersCustomerIDReader is a Reader for the PostAPITeamsIDCustomersCustomerID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPITeamsIDMembersUserIDReader is a Reader for the PostAPITeamsIDMembersUserID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPITeamsIDProjectsProjectIDReader is a Reader for the PostAPITeamsIDProjectsProjectID structure.

View File

@ -15,7 +15,7 @@ import (
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPITeamsParams creates a new PostAPITeamsParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPITeamsReader is a Reader for the PostAPITeams structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPITimesheetsActiveReader is a Reader for the GetAPITimesheetsActive structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPITimesheetsIDReader is a Reader for the GetAPITimesheetsID structure.

View File

@ -75,12 +75,6 @@ type GetAPITimesheetsRecentParams struct {
*/
Size string
/* User.
User ID to filter timesheets. Needs permission 'view_other_timesheet', pass 'all' to fetch data for all user (default: current user)
*/
User string
timeout time.Duration
Context context.Context
HTTPClient *http.Client
@ -156,17 +150,6 @@ func (o *GetAPITimesheetsRecentParams) SetSize(size string) {
o.Size = size
}
// WithUser adds the user to the get API timesheets recent params
func (o *GetAPITimesheetsRecentParams) WithUser(user string) *GetAPITimesheetsRecentParams {
o.SetUser(user)
return o
}
// SetUser adds the user to the get API timesheets recent params
func (o *GetAPITimesheetsRecentParams) SetUser(user string) {
o.User = user
}
// WriteToRequest writes these params to a swagger request
func (o *GetAPITimesheetsRecentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
@ -191,14 +174,6 @@ func (o *GetAPITimesheetsRecentParams) WriteToRequest(r runtime.ClientRequest, r
return err
}
// query param user
qrUser := o.User
qUser := qrUser
if err := r.SetQueryParam("user", qUser); err != nil {
return err
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPITimesheetsRecentReader is a Reader for the GetAPITimesheetsRecent structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPITimesheetsReader is a Reader for the GetAPITimesheets structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITimesheetsIDDuplicateReader is a Reader for the PatchAPITimesheetsIDDuplicate structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITimesheetsIDExportReader is a Reader for the PatchAPITimesheetsIDExport structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/swag"
"github.com/go-openapi/validate"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITimesheetsIDMetaReader is a Reader for the PatchAPITimesheetsIDMeta structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPatchAPITimesheetsIDParams creates a new PatchAPITimesheetsIDParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITimesheetsIDReader is a Reader for the PatchAPITimesheetsID structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/swag"
"github.com/go-openapi/validate"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITimesheetsIDRestartReader is a Reader for the PatchAPITimesheetsIDRestart structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPITimesheetsIDStopReader is a Reader for the PatchAPITimesheetsIDStop structure.

View File

@ -15,7 +15,7 @@ import (
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPITimesheetsParams creates a new PostAPITimesheetsParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPITimesheetsReader is a Reader for the PostAPITimesheets structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIUsersIDReader is a Reader for the GetAPIUsersID structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIUsersMeReader is a Reader for the GetAPIUsersMe structure.

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// GetAPIUsersReader is a Reader for the GetAPIUsers structure.

View File

@ -16,7 +16,7 @@ import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPatchAPIUsersIDParams creates a new PatchAPIUsersIDParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PatchAPIUsersIDReader is a Reader for the PatchAPIUsersID structure.

View File

@ -15,7 +15,7 @@ import (
cr "github.com/go-openapi/runtime/client"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// NewPostAPIUsersParams creates a new PostAPIUsersParams object,

View File

@ -12,7 +12,7 @@ import (
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/decentral1se/go-kimai/models"
"git.autonomic.zone/knoflook/go-kimai/models"
)
// PostAPIUsersReader is a Reader for the PostAPIUsers structure.

View File

@ -1,9 +1,9 @@
package main
import (
"decentral1se/go-kimai/client"
"decentral1se/go-kimai/client/customer"
"fmt"
"knoflook/go-kimai/client"
"knoflook/go-kimai/client/customer"
"log"
"os"

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/decentral1se/go-kimai
module git.autonomic.zone/knoflook/go-kimai
go 1.18