Skip to content
Snippets Groups Projects
Commit a910e575 authored by Erik Reid's avatar Erik Reid
Browse files

fixed lambda schema

parent 27b9563a
No related branches found
No related tags found
No related merge requests found
......@@ -638,7 +638,7 @@ Any non-empty responses are JSON formatted messages.
},
"additionalProperties": False
},
"geant-lambdas": {
"geant-lambda": {
"type": "object",
"properties": {
"id": {"type": "integer"},
......@@ -658,9 +658,8 @@ Any non-empty responses are JSON formatted messages.
"type": "array",
"items": {"$ref": "#/definitions/service-info"}
},
"geant-lambdas": {
"type": "array",
"items": {"$ref": "#/definitions/geant-lambdas"}
"geant-lambda": {
"$ref": "#/definitions/geant-lambda"
},
},
"additionalProperties": False
......
......@@ -82,8 +82,7 @@ INFINERA_LINK_METADATA = {
"items": {"$ref": "#/definitions/service-info"}
},
"geant-lambda": {
"type": "object",
"items": {"$ref": "#/definitions/geant-lambdas"}
"$ref": "#/definitions/geant-lambda"
},
},
"additionalProperties": False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment