Skip to content

How to convert EDMX xml from a file #19

@ajopjo

Description

@ajopjo

Hi:
I try to convert an edmx file to OpenAPI specification and I got the following error.
The below is my test code:

fs.readFile('test.xml', function (err, data) {
if (!err) {
console.log('data is' + data);
parse(data)
.then(entitySets => convert(entitySets))
.then(swagger => console.log(JSON.stringify(swagger, null, 2)))
.catch(error => console.error(error));
}
});

**TypeError: Cannot read property 'include' of undefined
test.zip

Attached is the file I try to convert

**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions