From 83c980545ff724d62ac73858030225d91e1ca332 Mon Sep 17 00:00:00 2001 From: Ismael Date: Mon, 6 Jan 2025 13:43:44 -0700 Subject: [PATCH] overlay fix (#19) --- overlay.yaml | 183 +++------------------------------------------------ 1 file changed, 8 insertions(+), 175 deletions(-) diff --git a/overlay.yaml b/overlay.yaml index 4b4594bb..3a325d1d 100644 --- a/overlay.yaml +++ b/overlay.yaml @@ -743,182 +743,15 @@ actions: remove: true - target: $.paths['/v4/aliases/{idOrAlias}'].get.responses['200'].content['application/json'].schema.items remove: true - - target: $.paths['/v4/aliases/{idOrAlias}'].get.responses['200'].content['application/json'].schema + - target: $.paths['/v4/aliases/{idOrAlias}'].get.responses['200'].content['application/json'].schema.properties.createdAt update: - properties: - alias: - type: string - description: The alias name, it could be a `.vercel.app` subdomain or a custom domain - example: my-alias.vercel.app - created: - type: string - format: date-time - description: The date when the alias was created - example: '2017-04-26T23:00:34.232Z' - createdAt: - type: number - description: The date when the alias was created in milliseconds since the UNIX epoch - example: 1540095775941 - nullable: true - creator: - properties: - uid: - type: string - description: ID of the user who created the alias - example: 96SnxkFiMyVKsK3pnoHfx3Hz - email: - type: string - description: Email of the user who created the alias - example: john-doe@gmail.com - username: - type: string - description: Username of the user who created the alias - example: john-doe - required: - - uid - - email - - username - type: object - description: Information of the user who created the alias - deletedAt: - type: number - description: The date when the alias was deleted in milliseconds since the UNIX epoch - example: 1540095775941 - nullable: true - deployment: - properties: - id: - type: string - description: The deployment unique identifier - example: dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx - url: - type: string - description: The deployment unique URL - example: my-instant-deployment-3ij3cxz9qr.now.sh - meta: - type: string - description: The deployment metadata - example: {} - required: - - id - - url - type: object - description: A map with the deployment ID, URL and metadata - deploymentId: - nullable: true - type: string - description: The deployment ID - example: dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx - projectId: - nullable: true - type: string - description: The unique identifier of the project - example: prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB - redirect: - nullable: true - type: string - description: Target destination domain for redirect when the alias is a redirect - redirectStatusCode: - nullable: true - type: number - enum: - - 301 - - 302 - - 307 - - 308 - description: Status code to be used on redirect - uid: - type: string - description: The unique identifier of the alias - updatedAt: - type: number - description: The date when the alias was updated in milliseconds since the UNIX epoch - example: 1540095775941 - nullable: true - protectionBypass: - additionalProperties: - oneOf: - - properties: - createdAt: - type: number - createdBy: - type: string - scope: - type: string - enum: - - shareable-link - required: - - createdAt - - createdBy - - scope - type: object - description: The protection bypass for the alias - - properties: - createdAt: - type: number - lastUpdatedAt: - type: number - lastUpdatedBy: - type: string - access: - type: string - enum: - - requested - - granted - scope: - type: string - enum: - - user - required: - - createdAt - - lastUpdatedAt - - lastUpdatedBy - - access - - scope - type: object - description: The protection bypass for the alias - - properties: - createdAt: - type: number - createdBy: - type: string - scope: - type: string - enum: - - alias-protection-override - required: - - createdAt - - createdBy - - scope - type: object - description: The protection bypass for the alias - - properties: - createdAt: - type: number - lastUpdatedAt: - type: number - lastUpdatedBy: - type: string - scope: - type: string - enum: - - email_invite - required: - - createdAt - - lastUpdatedAt - - lastUpdatedBy - - scope - type: object - description: The protection bypass for the alias - type: object - description: The protection bypass for the alias - required: - - alias - - created - - deploymentId - - projectId - - uid - type: object + nullable: true + - target: $.paths['/v4/aliases/{idOrAlias}'].get.responses['200'].content['application/json'].schema.properties.deletedAt + update: + nullable: true + - target: $.paths['/v4/aliases/{idOrAlias}'].get.responses['200'].content['application/json'].schema.properties.updatedAt + update: + nullable: true - target: $.paths['/v1/log-drains'].get.responses['200'].content['application/json'].schema.items.properties['createdFrom']['enum'] update: - integration