Skip to content

Commit

Permalink
Merge pull request #1 from gregsdennis/name-change
Browse files Browse the repository at this point in the history
change project name to Graeae
  • Loading branch information
gregsdennis committed Aug 9, 2023
2 parents f96581c + 03a0611 commit d189541
Show file tree
Hide file tree
Showing 85 changed files with 4,392 additions and 94 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
branches: [ main ]
paths:
- '.github/workflows/dotnet-core.yml'
- 'OpenApi.Models*/**/*'
- 'Graeae.Models*/**/*'
pull_request:
paths:
- '.github/workflows/dotnet-core.yml'
- 'OpenApi.Models*/**/*'
- 'Graeae.Models*/**/*'
workflow_dispatch:

jobs:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-models.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# https://github.com/marketplace/actions/publish-nuget
name: Publish STJ.OpenApi.Models
name: Publish Graeae.Models
on:
push:
branches:
- main
paths:
- 'OpenApi.Models/**/*'
- 'Graeae.Models/**/*'
workflow_dispatch:

jobs:
Expand All @@ -23,7 +23,7 @@ jobs:
id: publish_models
uses: alirezanet/publish-nuget@v3.0.0
with:
PROJECT_FILE_PATH: OpenApi.Models/OpenApi.Models.csproj
PROJECT_FILE_PATH: Graeae.Models/Graeae.Models.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
INCLUDE_SYMBOLS: true
TAG_FORMAT: models-v*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace OpenApi.Models.Tests;
namespace Graeae.Models.Tests;

public class CallbackTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System.Text;
using System.Text.Json;
using YamlDotNet.RepresentationModel;

namespace OpenApi.Models.Tests;
namespace Graeae.Models.Tests;

public class DevTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Json.Schema;
using Yaml2JsonNode;

namespace OpenApi.Models.Tests;
namespace Graeae.Models.Tests;

// These are more of language support tests than functional tests.
// The idea here is verifying that building a document in
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\OpenApi.Models\OpenApi.Models.csproj" />
<ProjectReference Include="..\Graeae.Models\Graeae.Models.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace OpenApi.Models.Tests;
namespace Graeae.Models.Tests;

public static class PathExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Json.Schema;
using Yaml2JsonNode;

namespace OpenApi.Models.Tests;
namespace Graeae.Models.Tests;

public class RefResolutionTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace OpenApi.Models.Tests;
namespace Graeae.Models.Tests;

public class RuntimeExpressionTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Yaml2JsonNode;
using YamlDotNet.RepresentationModel;

namespace OpenApi.Models.Tests;
namespace Graeae.Models.Tests;

public class SpecificationExamples
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using OpenApi.Models.SchemaDraft4;
using Graeae.Models.SchemaDraft4;

namespace OpenApi.Models.Tests;
namespace Graeae.Models.Tests;

[SetUpFixture]
public class TestEnvironment
Expand Down
3 changes: 3 additions & 0 deletions Graeae.Models.Tests/Usings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
global using NUnit.Framework;

global using static Graeae.Models.Tests.PathExtensions;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Json.Schema;
using Yaml2JsonNode;

namespace OpenApi.Models.Tests;
namespace Graeae.Models.Tests;

public class ValidationTests
{
Expand Down
2 changes: 1 addition & 1 deletion OpenApi.Models/Callback.cs → Graeae.Models/Callback.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Text.Json.Serialization;
using Json.Schema;

namespace OpenApi.Models;
namespace Graeae.Models;

/// <summary>
/// Models a callback.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Text.RegularExpressions;

namespace OpenApi.Models;
namespace Graeae.Models;

/// <summary>
/// Models a callback key expression.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Text.Json.Serialization;
using Json.Schema;

namespace OpenApi.Models;
namespace Graeae.Models;

/// <summary>
/// Models the `components` collection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Text.Json.Nodes;
using System.Text.Json.Serialization;

namespace OpenApi.Models;
namespace Graeae.Models;

/// <summary>
/// Models the contact information.
Expand Down
6 changes: 3 additions & 3 deletions OpenApi.Models/Encoding.cs → Graeae.Models/Encoding.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System.Text.Json.Nodes;
using System.Text.Json;
using System.Text.Json;
using System.Text.Json.Nodes;
using System.Text.Json.Serialization;
using Json.Schema;

namespace OpenApi.Models;
namespace Graeae.Models;

/// <summary>
/// Models an encoding object.
Expand Down
6 changes: 3 additions & 3 deletions OpenApi.Models/Example.cs → Graeae.Models/Example.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Json.More;
using System.Text.Json;
using System.Text.Json;
using System.Text.Json.Nodes;
using System.Text.Json.Serialization;
using Json.More;

namespace OpenApi.Models;
namespace Graeae.Models;

/// <summary>
/// Models an example.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Text.Json.Nodes;

namespace OpenApi.Models;
namespace Graeae.Models;

/// <summary>
/// Supports extension data for all types.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Text.Json.Nodes;
using System.Text.Json.Serialization;

namespace OpenApi.Models;
namespace Graeae.Models;

/// <summary>
/// Models external documentation.
Expand Down
2 changes: 1 addition & 1 deletion OpenApi.Models/Formats.cs → Graeae.Models/Formats.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Text.Json.Nodes;
using Json.Schema;

namespace OpenApi.Models;
namespace Graeae.Models;

/// <summary>
/// Provides extended JSON Schema formats.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace OpenApi.Models;
namespace Graeae.Models;

internal static class GeneralHelpers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>STJ.OpenAPI.Models</PackageId>
<PackageId>Graeae.Models</PackageId>
<LangVersion>latest</LangVersion>

<Authors>Greg Dennis</Authors>
<Description>Models for OpenAPI v3.x built on System.Text.Json and JsonSchema.Net</Description>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageProjectUrl>https://github.com/gregsdennis/openapi</PackageProjectUrl>
<PackageProjectUrl>https://github.com/gregsdennis/Graeae</PackageProjectUrl>
<PackageIcon>openapi.png</PackageIcon>
<RepositoryUrl>https://github.com/gregsdennis/openapi</RepositoryUrl>
<RepositoryUrl>https://github.com/gregsdennis/Graeae</RepositoryUrl>
<PackageTags>openapi json schema models</PackageTags>
<PackageReleaseNotes>Release notes can be found at https://github.com/gregsdennis/openapi</PackageReleaseNotes>
<PackageReleaseNotes>Release notes can be found at https://github.com/gregsdennis/Graeae</PackageReleaseNotes>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<DocumentationFile>OpenApi.Models.xml</DocumentationFile>
<Version>0.1.2</Version>
<FileVersion>0.1.2.0</FileVersion>
<AssemblyVersion>0.1.0.0</AssemblyVersion>
<DocumentationFile>Graeae.Models.xml</DocumentationFile>
<Version>0.2.0</Version>
<FileVersion>0.2.0.0</FileVersion>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand Down
Loading

0 comments on commit d189541

Please sign in to comment.