Open BPylypenko opened 2 years ago
Description When the user tries to create an entity through Swagger API from a JSON file that contains number fields, it returns the error:
Swagger API
{ "message": "json: cannot unmarshal number into Go struct field ResourceList.spec.resources.limits.cpu of type string" }.
Steps to Reproduce
API Gateway
spec.model.version
....cpu
Actual result When the user tries to create an entity from a JSON file with number fields through Swagger API, it returns the error:
Expected result The user can create an entity from a JSON file which contains number fields through Swagger API.
Attachments
Environment:
Description When the user tries to create an entity through
Swagger API
from a JSON file that contains number fields, it returns the error:Steps to Reproduce
API Gateway
page of ODAHU Web UI.spec.model.version
or....cpu
contains integers.Actual result When the user tries to create an entity from a JSON file with number fields through Swagger API, it returns the error:
Expected result The user can create an entity from a JSON file which contains number fields through Swagger API.
Attachments
Environment: