diff options
author | 2021-04-28 16:24:38 -0400 | |
---|---|---|
committer | 2021-04-28 16:24:38 -0400 | |
commit | c6b6d5298f25893c7800fda38dd46f4254b1b47f (patch) | |
tree | 5bbac26f677acc441d05c7b27808d7fcb5b00c89 /core/sliapi/model/swagger/src/main/yaml | |
parent | 7b25afd7fbb945686f5444e05e5e15716052b027 (diff) |
Fix handling of list of enums
Fixed MdsalHelper to add special case handling of lists of enums
Issue-ID: CCSDK-3276
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: If42688e19e1acdd73cc57b862a6516d8afa18fd3
Diffstat (limited to 'core/sliapi/model/swagger/src/main/yaml')
-rw-r--r-- | core/sliapi/model/swagger/src/main/yaml/sliapi.yaml | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/core/sliapi/model/swagger/src/main/yaml/sliapi.yaml b/core/sliapi/model/swagger/src/main/yaml/sliapi.yaml index b58e588b3..22fee129f 100644 --- a/core/sliapi/model/swagger/src/main/yaml/sliapi.yaml +++ b/core/sliapi/model/swagger/src/main/yaml/sliapi.yaml @@ -39,11 +39,11 @@ paths: 200: description: "sli.api.TestResults" schema: - $ref: "#/definitions/sli.api.TestResults" originalRef: "#/definitions/sli.api.TestResults" - responseSchema: $ref: "#/definitions/sli.api.TestResults" + responseSchema: originalRef: "#/definitions/sli.api.TestResults" + $ref: "#/definitions/sli.api.TestResults" post: tags: - "SLI-API" @@ -54,8 +54,8 @@ paths: description: "sli.api.TestResults to be added to list" required: false schema: - $ref: "#/definitions/sli.api.TestResults" originalRef: "#/definitions/sli.api.TestResults" + $ref: "#/definitions/sli.api.TestResults" responses: 400: description: "Internal error" @@ -73,8 +73,8 @@ paths: description: "sli.api.TestResults to be added or updated" required: false schema: - $ref: "#/definitions/sli.api.TestResults" originalRef: "#/definitions/sli.api.TestResults" + $ref: "#/definitions/sli.api.TestResults" responses: 400: description: "Internal error" @@ -101,8 +101,8 @@ paths: description: "sli.api.testresults.TestResult to be added to list" required: false schema: - $ref: "#/definitions/sli.api.testresults.TestResult" originalRef: "#/definitions/sli.api.testresults.TestResult" + $ref: "#/definitions/sli.api.testresults.TestResult" responses: 400: description: "Internal error" @@ -127,11 +127,11 @@ paths: 200: description: "sli.api.testresults.TestResult" schema: - $ref: "#/definitions/sli.api.testresults.TestResult" originalRef: "#/definitions/sli.api.testresults.TestResult" - responseSchema: $ref: "#/definitions/sli.api.testresults.TestResult" + responseSchema: originalRef: "#/definitions/sli.api.testresults.TestResult" + $ref: "#/definitions/sli.api.testresults.TestResult" post: tags: - "SLI-API" @@ -147,8 +147,8 @@ paths: description: "sli.api.testresults.TestResult to be added to list" required: false schema: - $ref: "#/definitions/sli.api.testresults.TestResult" originalRef: "#/definitions/sli.api.testresults.TestResult" + $ref: "#/definitions/sli.api.testresults.TestResult" responses: 400: description: "Internal error" @@ -171,8 +171,8 @@ paths: description: "sli.api.testresults.TestResult to be added or updated" required: false schema: - $ref: "#/definitions/sli.api.testresults.TestResult" originalRef: "#/definitions/sli.api.testresults.TestResult" + $ref: "#/definitions/sli.api.testresults.TestResult" responses: 400: description: "Internal error" @@ -207,11 +207,11 @@ paths: 200: description: "sli.api.TestResults" schema: - $ref: "#/definitions/sli.api.TestResults" originalRef: "#/definitions/sli.api.TestResults" - responseSchema: $ref: "#/definitions/sli.api.TestResults" + responseSchema: originalRef: "#/definitions/sli.api.TestResults" + $ref: "#/definitions/sli.api.TestResults" /operational/SLI-API:test-results/SLI-API:test-result/{test-identifier}/: get: tags: @@ -229,11 +229,11 @@ paths: 200: description: "sli.api.testresults.TestResult" schema: - $ref: "#/definitions/sli.api.testresults.TestResult" originalRef: "#/definitions/sli.api.testresults.TestResult" - responseSchema: $ref: "#/definitions/sli.api.testresults.TestResult" + responseSchema: originalRef: "#/definitions/sli.api.testresults.TestResult" + $ref: "#/definitions/sli.api.testresults.TestResult" /operations/SLI-API:execute-graph/: post: tags: @@ -245,19 +245,19 @@ paths: schema: properties: input: - $ref: "#/definitions/sli.api.executegraph.Input" originalRef: "#/definitions/sli.api.executegraph.Input" + $ref: "#/definitions/sli.api.executegraph.Input" responses: 400: description: "Internal error" 200: description: "Correct response" schema: - $ref: "#/definitions/sli.api.ExecuteGraph" originalRef: "#/definitions/sli.api.ExecuteGraph" - responseSchema: $ref: "#/definitions/sli.api.ExecuteGraph" + responseSchema: originalRef: "#/definitions/sli.api.ExecuteGraph" + $ref: "#/definitions/sli.api.ExecuteGraph" 201: description: "No response" /operations/SLI-API:healthcheck/: @@ -271,11 +271,11 @@ paths: 200: description: "Correct response" schema: - $ref: "#/definitions/sli.api.Healthcheck" originalRef: "#/definitions/sli.api.Healthcheck" - responseSchema: $ref: "#/definitions/sli.api.Healthcheck" + responseSchema: originalRef: "#/definitions/sli.api.Healthcheck" + $ref: "#/definitions/sli.api.Healthcheck" 201: description: "No response" /operations/SLI-API:vlbcheck/: @@ -289,11 +289,11 @@ paths: 200: description: "Correct response" schema: - $ref: "#/definitions/sli.api.Vlbcheck" originalRef: "#/definitions/sli.api.Vlbcheck" - responseSchema: $ref: "#/definitions/sli.api.Vlbcheck" + responseSchema: originalRef: "#/definitions/sli.api.Vlbcheck" + $ref: "#/definitions/sli.api.Vlbcheck" 201: description: "No response" definitions: @@ -301,14 +301,14 @@ definitions: type: "object" properties: output: - $ref: "#/definitions/sli.api.ResponseFields" originalRef: "#/definitions/sli.api.ResponseFields" + $ref: "#/definitions/sli.api.ResponseFields" sli.api.Healthcheck: type: "object" properties: output: - $ref: "#/definitions/sli.api.ResponseFields" originalRef: "#/definitions/sli.api.ResponseFields" + $ref: "#/definitions/sli.api.ResponseFields" sli.api.ModeEnumeration: type: "string" enum: @@ -344,27 +344,27 @@ definitions: test-result: type: "array" items: - $ref: "#/definitions/sli.api.testresults.TestResult" originalRef: "#/definitions/sli.api.testresults.TestResult" + $ref: "#/definitions/sli.api.testresults.TestResult" sli.api.Vlbcheck: type: "object" properties: output: - $ref: "#/definitions/sli.api.ResponseFields" originalRef: "#/definitions/sli.api.ResponseFields" + $ref: "#/definitions/sli.api.ResponseFields" sli.api.executegraph.Input: type: "object" properties: mode: - $ref: "#/definitions/sli.api.ModeEnumeration" originalRef: "#/definitions/sli.api.ModeEnumeration" + $ref: "#/definitions/sli.api.ModeEnumeration" module-name: type: "string" sli-parameter: type: "array" items: - $ref: "#/definitions/sli.api.ParameterSetting" originalRef: "#/definitions/sli.api.ParameterSetting" + $ref: "#/definitions/sli.api.ParameterSetting" rpc-name: type: "string" sli.api.testresults.TestResult: |