@@ -74,13 +74,13 @@ func (r *EditorService) ResolveURL(ctx context.Context, body EditorResolveURLPar
7474}
7575
7676type Editor struct {
77- ID string `json:"id"`
78- Alias string `json:"alias"`
79- IconURL string `json:"iconUrl"`
80- InstallationInstructions string `json:"installationInstructions"`
81- Name string `json:"name"`
82- ShortDescription string `json:"shortDescription"`
83- URLTemplate string `json:"urlTemplate"`
77+ ID string `json:"id,required "`
78+ Alias string `json:"alias,required "`
79+ IconURL string `json:"iconUrl,required "`
80+ InstallationInstructions string `json:"installationInstructions,required "`
81+ Name string `json:"name,required "`
82+ ShortDescription string `json:"shortDescription,required "`
83+ URLTemplate string `json:"urlTemplate,required "`
8484 JSON editorJSON `json:"-"`
8585}
8686
@@ -107,7 +107,7 @@ func (r editorJSON) RawJSON() string {
107107
108108type EditorGetResponse struct {
109109 // editor contains the editor
110- Editor Editor `json:"editor"`
110+ Editor Editor `json:"editor,required "`
111111 JSON editorGetResponseJSON `json:"-"`
112112}
113113
@@ -129,7 +129,7 @@ func (r editorGetResponseJSON) RawJSON() string {
129129
130130type EditorResolveURLResponse struct {
131131 // url is the resolved editor URL
132- URL string `json:"url"`
132+ URL string `json:"url,required "`
133133 JSON editorResolveURLResponseJSON `json:"-"`
134134}
135135
@@ -151,7 +151,7 @@ func (r editorResolveURLResponseJSON) RawJSON() string {
151151
152152type EditorGetParams struct {
153153 // id is the ID of the editor to get
154- ID param.Field [string ] `json:"id"`
154+ ID param.Field [string ] `json:"id,required "`
155155}
156156
157157func (r EditorGetParams ) MarshalJSON () (data []byte , err error ) {
@@ -193,11 +193,11 @@ func (r EditorListParamsPagination) MarshalJSON() (data []byte, err error) {
193193
194194type EditorResolveURLParams struct {
195195 // editorId is the ID of the editor to resolve the URL for
196- EditorID param.Field [string ] `json:"editorId" format:"uuid"`
196+ EditorID param.Field [string ] `json:"editorId,required " format:"uuid"`
197197 // environmentId is the ID of the environment to resolve the URL for
198- EnvironmentID param.Field [string ] `json:"environmentId" format:"uuid"`
198+ EnvironmentID param.Field [string ] `json:"environmentId,required " format:"uuid"`
199199 // organizationId is the ID of the organization to resolve the URL for
200- OrganizationID param.Field [string ] `json:"organizationId" format:"uuid"`
200+ OrganizationID param.Field [string ] `json:"organizationId,required " format:"uuid"`
201201}
202202
203203func (r EditorResolveURLParams ) MarshalJSON () (data []byte , err error ) {
0 commit comments