Skip to content

Commit 945314e

Browse files
feat(api): api update
1 parent 7ac3c6c commit 945314e

File tree

2 files changed

+1
-34
lines changed

2 files changed

+1
-34
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
configured_endpoints: 17
2-
openapi_spec_hash: 8827ead72aa0c635ccafac5e008fe247
2+
openapi_spec_hash: a9c2f380c41389904ec243caa6fd4cc8
33
config_hash: 087e6b8013c398a6d24031d24594fdec

projecttest.go

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -358,15 +358,13 @@ func (r ProjectTestNewResponseType) IsKnown() bool {
358358
}
359359

360360
type ProjectTestListResponse struct {
361-
Meta ProjectTestListResponse_Meta `json:"_meta,required"`
362361
Items []ProjectTestListResponseItem `json:"items,required"`
363362
JSON projectTestListResponseJSON `json:"-"`
364363
}
365364

366365
// projectTestListResponseJSON contains the JSON metadata for the struct
367366
// [ProjectTestListResponse]
368367
type projectTestListResponseJSON struct {
369-
Meta apijson.Field
370368
Items apijson.Field
371369
raw string
372370
ExtraFields map[string]apijson.Field
@@ -380,37 +378,6 @@ func (r projectTestListResponseJSON) RawJSON() string {
380378
return r.raw
381379
}
382380

383-
type ProjectTestListResponse_Meta struct {
384-
// The current page.
385-
Page int64 `json:"page,required"`
386-
// The number of items per page.
387-
PerPage int64 `json:"perPage,required"`
388-
// The total number of items.
389-
TotalItems int64 `json:"totalItems,required"`
390-
// The total number of pages.
391-
TotalPages int64 `json:"totalPages,required"`
392-
JSON projectTestListResponseMetaJSON `json:"-"`
393-
}
394-
395-
// projectTestListResponseMetaJSON contains the JSON metadata for the struct
396-
// [ProjectTestListResponse_Meta]
397-
type projectTestListResponseMetaJSON struct {
398-
Page apijson.Field
399-
PerPage apijson.Field
400-
TotalItems apijson.Field
401-
TotalPages apijson.Field
402-
raw string
403-
ExtraFields map[string]apijson.Field
404-
}
405-
406-
func (r *ProjectTestListResponse_Meta) UnmarshalJSON(data []byte) (err error) {
407-
return apijson.UnmarshalRoot(data, r)
408-
}
409-
410-
func (r projectTestListResponseMetaJSON) RawJSON() string {
411-
return r.raw
412-
}
413-
414381
type ProjectTestListResponseItem struct {
415382
// The test id.
416383
ID string `json:"id,required" format:"uuid"`

0 commit comments

Comments
 (0)