Swagger schema errors

When using the Swagger Editor with CUBA 6.8, I get these errors:

Errors
Schema error at definitions['fileInfo'].properties['size'].type
should be equal to one of the allowed values
allowedValues: array, boolean, integer, null, number, object, string
Jump to line 447
Schema error at definitions['fileInfo'].properties['size'].type
should be array
Jump to line 447
Schema error at definitions['fileInfo'].properties['size'].type
should match some schema in anyOf
Jump to line 447
Semantic error at paths./entities/{entityName}/search
Declared path parameter "entityName" needs to be defined within every operation in the path (missing in "post"), or moved to the path-level parameters object
Jump to line 776
Semantic error at paths./entities/{entityName}/search.get.parameters.1
Path parameters must have 'required: true'. You can always create another path/operation without this parameter to get the same behaviour.
Jump to line 882
Schema error at paths['/entities/{entityName}/search'].get.parameters[1]
should match exactly one schema in oneOf
Jump to line 882
Schema error at paths['/entities/{entityName}/search'].get.parameters[1]
should NOT have additional properties
additionalProperty: name, description, in
Jump to line 882
Schema error at paths['/entities/{entityName}/search'].get.parameters[1].in
should be equal to one of the allowed values
allowedValues: body, header, formData, query
Jump to line 885
Semantic error at paths./files/{id}.get.parameters.0
Path parameters must have 'required: true'. You can always create another path/operation without this parameter to get the same behaviour.
Jump to line 1301
Schema error at paths['/files/{id}'].get.parameters[0]
should NOT have additional properties
additionalProperty: type, default, name, in, description
Jump to line 1301
Schema error at paths['/files/{id}'].get.parameters[0].in
should be equal to one of the allowed values
allowedValues: body, header, formData, query
Jump to line 1302
Semantic error at paths./docs/swagger.{format}.get.parameters.0
Path parameters must have 'required: true'. You can always create another path/operation without this parameter to get the same behaviour.
Jump to line 1563
Schema error at paths['/docs/swagger.{format}'].get.parameters[0]
should NOT have additional properties
additionalProperty: type, default, name, in, description
Jump to line 1563
Schema error at paths['/docs/swagger.{format}'].get.parameters[0].in
should be equal to one of the allowed values
allowedValues: body, header, formData, query
Jump to line 1564

Are they something we can ignore?

Thanks,

Ian

Hello, @IanE

this schema was written for the 6.3 version and swagger specification has been changed since this version.

I’ve created an issue in YouTrack: link.

Regards,
Daniil.