why use neo4j swagger instead of expressjs routes / controllers and the neo4j npm package?

210 Views Asked by At

I really want to use the right toolset to correctly build out a REST api that consumes neo4j, and I began doing that with the neo4j package, and the expressjs routes & controllers pattern. It works just like you would expect when building a mean stack application.

Then, I started seeing stuff about neo4j swagger for building rest api's around neo4j, but it seems like its doing the same stuff. what is it for and should it be used to do what i'm doing?

1

There are 1 best solutions below

2
On

Just use what you said

Swagger is mean to be for designing clear API's which are also consumed by others