Initial swagger doc-api implementation.