Move factory into method. Support definition.properties.relationships for jsonapi-server.
Move factory into method. Support definition.properties.relationships for jsonapi-server.

queenvictoria/ember-cli-openapi-generate,queenvictoria/ember-cli-openapi-generate