@@ -75,7 +75,7 @@ and at the value that is to become the MongoDB ID, add:
### folder `Services`
the folder `Services` should contain one common class with the DatabaseSettings (`DatabaseSettings.cs`) and one with the database-access-methods (create, get, update, remove) for each API. If some are missing create them like the ones you find there. Be aware to add the reference to these in the file `startup.cs` in this case.
the naming in the DatabaseSettings is the same as defined in `appsettings.json`, which you have to extend when creating new classes in this folder. changed`appsettings.json` in the folder `docker` accordingly. Make sure that the ConnectionString for the database contains the correct IP address as specified in `docker-compose.yml`.
the naming in the DatabaseSettings is the same as defined in `appsettings.json`, which you have to extend when creating new classes in this folder. Change `appsettings.json` in the folder `docker` accordingly. Make sure that the ConnectionString for the database contains the correct IP address as specified in `docker-compose.yml`.
### folder `wwwroot`
add in `openapi-original.json` in section `servers` the urls of the servers you want to use with swagger-ui
/// <remarks>Modify an existing Trackable given a json object containing all the required informations. <br> **Please note that ID of the object is required in the JSON**</remarks>
/// <param name="trackable">The Trackable to be modified in the world storage.</param>
/// <response code="200">OK, return the UUID of the modified Trackable.</response>
/// <response code="400">Bad request.</response>
/// <response code="404">Not found, could not find UUID in database.</response>
/// <remarks>Modify an existing World Anchor given a json object containing all the required informations. <br> **Please note that ID of the object is required in the JSON**</remarks>
/// <param name="worldAnchor">The World Anchor to be modified in the world storage.</param>
/// <response code="200">OK, return the UUID of the modified World Anchor.</response>
/// <response code="400">Bad request.</response>
/// <response code="404">Not found, could not find UUID in database.</response>
/// <remarks>Modify an existing World Link given a json object containing all the required informations. <br> **Please note that ID of the object is required in the JSON**</remarks>
/// <param name="worldLink">The World Link to be modified in the world storage.</param>
/// <response code="200">OK, return the UUID of the modified World Link.</response>
/// <response code="400">Bad request.</response>
/// <response code="404">Not found, could not find UUID in database.</response>