fixeria has uploaded this change for review.

View Change

[REST] OpenAPI: fix regexp to permit IPv6 addr in EnbId

Change-Id: I112283b140a070924d59935a3bdd6fd63fc8c7ea
Fixes: 15067454 ("[REST] Implement EnbList and EnbInfo")
---
M contrib/openapi.yaml
M priv/openapi.json
2 files changed, 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-s1gw refs/changes/98/41298/1
diff --git a/contrib/openapi.yaml b/contrib/openapi.yaml
index a56f876..307ae1c 100644
--- a/contrib/openapi.yaml
+++ b/contrib/openapi.yaml
@@ -192,7 +192,7 @@
description: eNB/MME SCTP association identifier
example: enb-aid:42
- type: string
- pattern: '^enb-conn:[0-9:.]+-[0-9]+$'
+ pattern: '^enb-conn:[0-9a-f:.]+-[0-9]+$'
description: eNB connection address/port
example: enb-conn:192.168.1.1-34650

diff --git a/priv/openapi.json b/priv/openapi.json
index 5422c03..c13d20c 100644
--- a/priv/openapi.json
+++ b/priv/openapi.json
@@ -296,7 +296,7 @@
},
{
"type": "string",
- "pattern": "^enb-conn:[0-9:.]+-[0-9]+$",
+ "pattern": "^enb-conn:[0-9a-f:.]+-[0-9]+$",
"description": "eNB connection address/port",
"example": "enb-conn:192.168.1.1-34650"
}

To view, visit change 41298. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: I112283b140a070924d59935a3bdd6fd63fc8c7ea
Gerrit-Change-Number: 41298
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>