1
0
Fork 0
forked from lthn/blockchain

Update API server description and add server endpoints in ApiServer configuration

This commit is contained in:
snider 2025-10-15 22:28:55 +01:00
parent d7066c2220
commit d154992233

View file

@ -58,13 +58,14 @@ void ApiServer::run() {
builder
.setTitle("Lethean Blockchain API")
.setDescription("New API layer for Lethean")
.setDescription("OpenAPI for Lethean Blockchain")
.setVersion(PROJECT_VERSION)
.setContactName("Lethean")
.setContactUrl("https://lt.hn/")
.setLicenseName("EUPL-1.2")
.setLicenseUrl("https://joinup.ec.europa.eu/software/page/eupl/licence-eupl")
.addServer("http://127.0.0.1:8000", "server on localhost");
.addServer("http://" + ApiServer::m_host + ":" + std::to_string(ApiServer::m_port), "Local Daemon")
.addServer("http://seed.lethean.io:36943", "Seed Server");
return builder.build(); }());