diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..8cfb7fb8af1ac9f96c5a284459a840ceaa421018 --- /dev/null +++ b/.gitignore @@ -0,0 +1,40 @@ +## Ignore .openapi-generator Folder +## +.openapi-generator/ +server/src/Org.OpenAPITools/.gitignore + +# Visual Studio cache/options directory +.vs/ + +# Visual Studio solution +*.sln + +# build-jobs +build.* + +# database data directory +data/ + +#generated readme +server/README.md + +# all generated directories +Attributes/ +Authentication/ +Controllers/ +Converters/ +Filters/ +Formatters/ +Models/ +OpenAPI/ +Properties/ +wwwroot/ + +# generated project-files +*.csproj + +# generated Program.cs +Program.cs + +# backup-files +*.bak diff --git a/readme.md b/readme.md index 5efc95a65d166e1c9caae6e6a0016f93a3023754..1988151c5a8a3d59a46de59e4af672fa08e2bda6 100644 --- a/readme.md +++ b/readme.md @@ -60,13 +60,13 @@ remove sample code and replace it by using the appropriate methods of the corres --- ### folder `Models`: -add: +add to the classes to be stored in the database (i.e. `Trackable.cs`, `WorldAnchor.cs`, `WorldLink.cs`) : ``` using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; ``` -at the value that is to become the MongoDB ID, add: +and at the value that is to become the MongoDB ID, add: ``` [BsonId] [BsonRepresentation(BsonType.String)]