Skip to content

Commit

Permalink
using datamodel library
Browse files Browse the repository at this point in the history
  • Loading branch information
RudiThoeni committed Oct 10, 2024
1 parent 7e9e187 commit f34f70c
Show file tree
Hide file tree
Showing 28 changed files with 27 additions and 1,641 deletions.
1 change: 1 addition & 0 deletions ContentApiCore/Controllers/api/ExampleApiController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ContentApiModels;

namespace ContentApiCore.Controllers.api
{
Expand Down
1 change: 1 addition & 0 deletions ContentApiCore/Controllers/other/JsonLDController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using System.Text.Json;
using System.Threading.Tasks;
using OdhNotifier;
using ContentApiModels;

namespace ContentApiCore.Controllers.api
{
Expand Down
1 change: 1 addition & 0 deletions ContentApiCore/Formatters/JsonLdOutputFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

using ContentApiModels;
using DataModel;
using Helper.JsonHelpers;
using Microsoft.AspNetCore.Http;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

using ContentApiModels;
using DataModel;
using Helper;
using Microsoft.AspNetCore.Mvc.Testing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dapper" Version="2.0.123" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.38" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Npgsql" Version="7.0.4" />
<PackageReference Include="opendatahub-datamodel-tourism" Version="1.0.1" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.2.3" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

using DataModel;
using DataModel.Annotations;
using Swashbuckle.AspNetCore.Annotations;
using System;
Expand All @@ -10,7 +11,8 @@
using System.Text;
using System.Threading.Tasks;

namespace DataModel
namespace ContentApiModels

{
public class Example : IIdentifiable, IImportDateassigneable, IMappingAware, IHasLanguage, ISource, IActivateable, IMetaData, IPublishedOn, IDetailInfosAware, IGPSInfoAware, IImageGalleryAware, IShortName, IContactInfosAware, ILicenseInfo, IGPSPointsAware
{
Expand Down
Loading

0 comments on commit f34f70c

Please sign in to comment.