diff --git a/openapi/openroaming_orion.yaml b/openapi/openroaming_orion.yaml index d2cb132..0dd0e66 100644 --- a/openapi/openroaming_orion.yaml +++ b/openapi/openroaming_orion.yaml @@ -94,7 +94,7 @@ paths: 404: $ref: '#/components/responses/NotFound' - /openroaming/globalreach/account/{id}: + /openroaming/orion/account/{id}: get: tags: - OpenRoaming-Google Orion diff --git a/src/RESTAPI/RESTAPI_openroaming_orion_acct_handler.h b/src/RESTAPI/RESTAPI_openroaming_orion_acct_handler.h index a896b2b..a2bb597 100644 --- a/src/RESTAPI/RESTAPI_openroaming_orion_acct_handler.h +++ b/src/RESTAPI/RESTAPI_openroaming_orion_acct_handler.h @@ -16,6 +16,7 @@ namespace OpenWifi { std::vector{Poco::Net::HTTPRequest::HTTP_GET, Poco::Net::HTTPRequest::HTTP_DELETE, Poco::Net::HTTPRequest::HTTP_POST, + Poco::Net::HTTPRequest::HTTP_PUT, Poco::Net::HTTPRequest::HTTP_OPTIONS}, Server, TransactionId, Internal) {} static auto PathName() { return std::list{"/api/v1/openroaming/orion/account/{id}"}; };