From 2f7ef27de12724201ed7e7f78f82d9eb2f8351c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Bou=C3=A7as?= Date: Fri, 16 Jun 2023 16:46:47 +0100 Subject: [PATCH] chore(docs): remove mention of migrating from classic env vars experience --- go/plumbing/operations/operations_client.go | 14 ++++++------ swagger.yml | 24 +++++++-------------- 2 files changed, 15 insertions(+), 23 deletions(-) diff --git a/go/plumbing/operations/operations_client.go b/go/plumbing/operations/operations_client.go index 79af3fc8..f701b140 100644 --- a/go/plumbing/operations/operations_client.go +++ b/go/plumbing/operations/operations_client.go @@ -543,7 +543,7 @@ func (a *Client) CreateDNSZone(params *CreateDNSZoneParams, authInfo runtime.Cli } /* -CreateEnvVars Creates new environment variables. Granular scopes are available on Pro plans and above. To use this endpoint, your site must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. +CreateEnvVars Creates new environment variables. Granular scopes are available on Pro plans and above. */ func (a *Client) CreateEnvVars(params *CreateEnvVarsParams, authInfo runtime.ClientAuthInfoWriter) (*CreateEnvVarsCreated, error) { // TODO: Validate the params before sending @@ -1121,7 +1121,7 @@ func (a *Client) DeleteDNSZone(params *DeleteDNSZoneParams, authInfo runtime.Cli } /* -DeleteEnvVar Deletes an environment variable. To use this endpoint, your site must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. +DeleteEnvVar Deletes an environment variable. */ func (a *Client) DeleteEnvVar(params *DeleteEnvVarParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteEnvVarNoContent, error) { // TODO: Validate the params before sending @@ -1155,7 +1155,7 @@ func (a *Client) DeleteEnvVar(params *DeleteEnvVarParams, authInfo runtime.Clien } /* -DeleteEnvVarValue Deletes a specific environment variable value. To use this endpoint, your site must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. +DeleteEnvVarValue Deletes a specific environment variable value. */ func (a *Client) DeleteEnvVarValue(params *DeleteEnvVarValueParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteEnvVarValueNoContent, error) { // TODO: Validate the params before sending @@ -1972,7 +1972,7 @@ func (a *Client) GetDNSZones(params *GetDNSZonesParams, authInfo runtime.ClientA } /* -GetEnvVar Returns an individual environment variable. To use this endpoint, your site must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. +GetEnvVar Returns an individual environment variable. */ func (a *Client) GetEnvVar(params *GetEnvVarParams, authInfo runtime.ClientAuthInfoWriter) (*GetEnvVarOK, error) { // TODO: Validate the params before sending @@ -2006,7 +2006,7 @@ func (a *Client) GetEnvVar(params *GetEnvVarParams, authInfo runtime.ClientAuthI } /* -GetEnvVars Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI. To use this endpoint, your site must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. +GetEnvVars Returns all environment variables for an account or site. An account corresponds to a team in the Netlify UI. */ func (a *Client) GetEnvVars(params *GetEnvVarsParams, authInfo runtime.ClientAuthInfoWriter) (*GetEnvVarsOK, error) { // TODO: Validate the params before sending @@ -3502,7 +3502,7 @@ func (a *Client) RollbackSiteDeploy(params *RollbackSiteDeployParams, authInfo r } /* -SetEnvVarValue Updates or creates a new value for an existing environment variable. To use this endpoint, your site must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. +SetEnvVarValue Updates or creates a new value for an existing environment variable. */ func (a *Client) SetEnvVarValue(params *SetEnvVarValueParams, authInfo runtime.ClientAuthInfoWriter) (*SetEnvVarValueCreated, error) { // TODO: Validate the params before sending @@ -3882,7 +3882,7 @@ func (a *Client) UpdateAccountMember(params *UpdateAccountMemberParams, authInfo } /* -UpdateEnvVar Updates an existing environment variable and all of its values. Existing values will be replaced by values provided. To use this endpoint, your site must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. +UpdateEnvVar Updates an existing environment variable and all of its values. Existing values will be replaced by values provided. */ func (a *Client) UpdateEnvVar(params *UpdateEnvVarParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateEnvVarOK, error) { // TODO: Validate the params before sending diff --git a/swagger.yml b/swagger.yml index 89d9a088..8d0f1733 100644 --- a/swagger.yml +++ b/swagger.yml @@ -242,16 +242,13 @@ paths: $ref: '#/responses/error' description: >- Returns all environment variables for an account or site. An - account corresponds to a team in the Netlify UI. To use this endpoint, your - site must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. + account corresponds to a team in the Netlify UI. post: tags: - environmentVariables operationId: createEnvVars description: >- - Creates new environment variables. Granular scopes are available - on Pro plans and above. To use this endpoint, your site must no longer be - using the classic environment variables experience. Migrate now with the Netlify UI. + Creates new environment variables. Granular scopes are available on Pro plans and above. parameters: - in: body name: env_vars @@ -332,16 +329,14 @@ paths: default: $ref: '#/responses/error' description: >- - Returns an individual environment variable. To use this endpoint, your site - must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. + Returns an individual environment variable. put: tags: - environmentVariables operationId: updateEnvVar description: >- Updates an existing environment variable and all of its values. - Existing values will be replaced by values provided. To use this endpoint, your site must - no longer be using the classic environment variables experience. Migrate now with the Netlify UI. + Existing values will be replaced by values provided. parameters: - name: account_id description: Scope response to account_id @@ -395,8 +390,7 @@ paths: - environmentVariables operationId: setEnvVarValue description: >- - Updates or creates a new value for an existing environment variable. To use this endpoint, your site - must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. + Updates or creates a new value for an existing environment variable. parameters: - name: account_id description: Scope response to account_id @@ -467,8 +461,7 @@ paths: default: $ref: '#/responses/error' description: >- - Deletes an environment variable. To use this endpoint, your site must no - longer be using the classic environment variables experience. Migrate now with the Netlify UI. + Deletes an environment variable. /accounts/{account_id}/env/{key}/value/{id}: delete: tags: @@ -503,8 +496,7 @@ paths: default: $ref: '#/responses/error' description: >- - Deletes a specific environment variable value. To use this endpoint, your site - must no longer be using the classic environment variables experience. Migrate now with the Netlify UI. + Deletes a specific environment variable value. /sites/{site_id}/forms: get: operationId: listSiteForms @@ -3737,4 +3729,4 @@ tags: - name: asset x-displayName: Asset - name: assetPublicSignature - x-displayName: Asset public signature + x-displayName: Asset public signature \ No newline at end of file