Sage-Bionetworks / prov-service

lightweight implementation of the Synapse Activity services, based on the PROV spec
3 stars 3 forks source link

Enable Neo4j JSON response format (for neo4jd3 viz) #30

Closed jaeddy closed 5 years ago

jaeddy commented 5 years ago

Should be a simple fix. Default now is to return a D3-centric JSON structure. The schema for the alternative structure is already defined in the OpenAPI spec (NeoGraph) — just need to add relevant query params and update controllers.

jaeddy commented 5 years ago

Actually... maybe hold off on this for now. Waiting for guidance from @TheRobBrennan and @Stanley-Jovel on preferred response format.

jaeddy commented 5 years ago

Fixed. Using Neo4j JSON format by default for now (OpenAPI Generator doesn't handle oneOf for response schemas very well...).