Skip to content

Commit 4b07efb

Browse files
chore: remove _meta
1 parent 497cacf commit 4b07efb

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: 24
2-
openapi_spec_hash: cc1cb83f7a45407d5645748eb19db60d
2+
openapi_spec_hash: c97a5263afcc72ca5a47bc5a87683a78
33
config_hash: f0743196c68fb84cbd06a95f134702b3

workspaceinvite.go

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -211,15 +211,13 @@ func (r workspaceInviteNewResponseItemsWorkspaceJSON) RawJSON() string {
211211
}
212212

213213
type WorkspaceInviteListResponse struct {
214-
Meta WorkspaceInviteListResponse_Meta `json:"_meta,required"`
215214
Items []WorkspaceInviteListResponseItem `json:"items,required"`
216215
JSON workspaceInviteListResponseJSON `json:"-"`
217216
}
218217

219218
// workspaceInviteListResponseJSON contains the JSON metadata for the struct
220219
// [WorkspaceInviteListResponse]
221220
type workspaceInviteListResponseJSON struct {
222-
Meta apijson.Field
223221
Items apijson.Field
224222
raw string
225223
ExtraFields map[string]apijson.Field
@@ -233,37 +231,6 @@ func (r workspaceInviteListResponseJSON) RawJSON() string {
233231
return r.raw
234232
}
235233

236-
type WorkspaceInviteListResponse_Meta struct {
237-
// The current page.
238-
Page int64 `json:"page,required"`
239-
// The number of items per page.
240-
PerPage int64 `json:"perPage,required"`
241-
// The total number of items.
242-
TotalItems int64 `json:"totalItems,required"`
243-
// The total number of pages.
244-
TotalPages int64 `json:"totalPages,required"`
245-
JSON workspaceInviteListResponseMetaJSON `json:"-"`
246-
}
247-
248-
// workspaceInviteListResponseMetaJSON contains the JSON metadata for the struct
249-
// [WorkspaceInviteListResponse_Meta]
250-
type workspaceInviteListResponseMetaJSON struct {
251-
Page apijson.Field
252-
PerPage apijson.Field
253-
TotalItems apijson.Field
254-
TotalPages apijson.Field
255-
raw string
256-
ExtraFields map[string]apijson.Field
257-
}
258-
259-
func (r *WorkspaceInviteListResponse_Meta) UnmarshalJSON(data []byte) (err error) {
260-
return apijson.UnmarshalRoot(data, r)
261-
}
262-
263-
func (r workspaceInviteListResponseMetaJSON) RawJSON() string {
264-
return r.raw
265-
}
266-
267234
type WorkspaceInviteListResponseItem struct {
268235
// The invite id.
269236
ID string `json:"id,required" format:"uuid"`

0 commit comments

Comments
 (0)