This example starts the EnzymeML v2 REST API using SQLite.
go run main.goThe server starts at http://localhost:8080.
Interactive docs and OpenAPI:
http://localhost:8080/v2/docshttp://localhost:8080/v2/openapi.jsonhttp://localhost:8080/v2/openapi.yaml
curl -X POST http://localhost:8080/v2/documents \
-H "Content-Type: application/json" \
-d '{"name":"my-doc","version":"2.0.0"}'
curl http://localhost:8080/v2/documents
curl http://localhost:8080/v2/openapi.jsonThe API includes CRUD endpoints for all v2 resources under /v2.