From 16157c86c82f7f172d7fd4f1c2a3c9de9951ff89 Mon Sep 17 00:00:00 2001 From: tbandwala Date: Tue, 9 Aug 2022 12:01:03 +0530 Subject: [PATCH 1/2] Add patch to remove format type UUID for description field of vlan --- .../06-vlan-description-format-to-string.patch | 12 ++++++++++++ spec/oas3.patched.json | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 patches/spec.fetched.json/06-vlan-description-format-to-string.patch diff --git a/patches/spec.fetched.json/06-vlan-description-format-to-string.patch b/patches/spec.fetched.json/06-vlan-description-format-to-string.patch new file mode 100644 index 000000000..b04655802 --- /dev/null +++ b/patches/spec.fetched.json/06-vlan-description-format-to-string.patch @@ -0,0 +1,12 @@ +diff --git a/spec/oas3.patched.json b/spec/oas3.patched.json +index c74f6f9..0816bf5 100644 +--- a/spec/oas3.patched.json ++++ b/spec/oas3.patched.json +@@ -4530,7 +4530,6 @@ + "type": "boolean" + }, + "description": { +- "format": "uuid", + "type": "string" + }, + "facility": { diff --git a/spec/oas3.patched.json b/spec/oas3.patched.json index c74f6f9f6..0816bf567 100644 --- a/spec/oas3.patched.json +++ b/spec/oas3.patched.json @@ -4530,7 +4530,6 @@ "type": "boolean" }, "description": { - "format": "uuid", "type": "string" }, "facility": { From da0e598de67c8e4e495cf792b79a94b1ad07eaa9 Mon Sep 17 00:00:00 2001 From: "equinix-labs@auto-commit-workflow" Date: Tue, 9 Aug 2022 06:32:31 +0000 Subject: [PATCH 2/2] Auto commit generated client changes - Tue Aug 9 06:32:31 UTC 2022 --- equinix-openapi-metal/api/openapi.yaml | 7 +++---- equinix-openapi-metal/docs/VirtualNetwork.md | 2 +- .../equinix/openapi/metal/v1/model/VirtualNetwork.java | 8 ++++---- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/equinix-openapi-metal/api/openapi.yaml b/equinix-openapi-metal/api/openapi.yaml index f385eca6e..497924790 100644 --- a/equinix-openapi-metal/api/openapi.yaml +++ b/equinix-openapi-metal/api/openapi.yaml @@ -19085,7 +19085,7 @@ components: - href: href metro: href: href - description: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + description: description href: href id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 facility: @@ -19101,7 +19101,6 @@ components: False if not. type: boolean description: - format: uuid type: string facility: $ref: '#/components/schemas/Href' @@ -19176,7 +19175,7 @@ components: - href: href metro: href: href - description: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + description: description href: href id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 facility: @@ -19199,7 +19198,7 @@ components: - href: href metro: href: href - description: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + description: description href: href id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 facility: diff --git a/equinix-openapi-metal/docs/VirtualNetwork.md b/equinix-openapi-metal/docs/VirtualNetwork.md index 46ae47402..508be5868 100644 --- a/equinix-openapi-metal/docs/VirtualNetwork.md +++ b/equinix-openapi-metal/docs/VirtualNetwork.md @@ -9,7 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**assignedTo** | [**Href**](Href.md) | | [optional] | |**assignedToVirtualCircuit** | **Boolean** | True if the virtual network is attached to a virtual circuit. False if not. | [optional] | -|**description** | **UUID** | | [optional] | +|**description** | **String** | | [optional] | |**facility** | [**Href**](Href.md) | | [optional] | |**href** | **String** | | [optional] | |**id** | **UUID** | | [optional] | diff --git a/equinix-openapi-metal/src/main/java/com/equinix/openapi/metal/v1/model/VirtualNetwork.java b/equinix-openapi-metal/src/main/java/com/equinix/openapi/metal/v1/model/VirtualNetwork.java index ae0dc28da..a235eaa24 100644 --- a/equinix-openapi-metal/src/main/java/com/equinix/openapi/metal/v1/model/VirtualNetwork.java +++ b/equinix-openapi-metal/src/main/java/com/equinix/openapi/metal/v1/model/VirtualNetwork.java @@ -64,7 +64,7 @@ public class VirtualNetwork { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) - private UUID description; + private String description; public static final String SERIALIZED_NAME_FACILITY = "facility"; @SerializedName(SERIALIZED_NAME_FACILITY) @@ -147,7 +147,7 @@ public void setAssignedToVirtualCircuit(Boolean assignedToVirtualCircuit) { } - public VirtualNetwork description(UUID description) { + public VirtualNetwork description(String description) { this.description = description; return this; @@ -160,12 +160,12 @@ public VirtualNetwork description(UUID description) { @javax.annotation.Nullable @ApiModelProperty(value = "") - public UUID getDescription() { + public String getDescription() { return description; } - public void setDescription(UUID description) { + public void setDescription(String description) { this.description = description; }