Skip to content

Commit

Permalink
fix port virtual network to not be an href
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreatma committed Jan 25, 2024
1 parent 4088361 commit 6972fbf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ properties:
$ref: './VirtualNetwork.yaml'
virtual_networks:
items:
$ref: './Href.yaml'
$ref: './VirtualNetwork.yaml'
type: array
type: object
12 changes: 12 additions & 0 deletions spec/services/metalv1/patches/20240125-port-virtual-network.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/spec/services/metalv1/oas3.patched/components/schemas/Port.yaml b/spec/services/metalv1/oas3.patched/components/schemas/Port.yaml
index bceaf31..e232c6d 100644
--- a/spec/services/metalv1/oas3.patched/components/schemas/Port.yaml
+++ b/spec/services/metalv1/oas3.patched/components/schemas/Port.yaml
@@ -35,6 +35,6 @@ properties:
$ref: './VirtualNetwork.yaml'
virtual_networks:
items:
- $ref: './Href.yaml'
+ $ref: './VirtualNetwork.yaml'
type: array
type: object

0 comments on commit 6972fbf

Please sign in to comment.