-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,707 additions
and
1,722 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,46 @@ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json.Linq; | ||
|
||
#pragma warning disable 1591 | ||
namespace Facility.Definition.Swagger; | ||
|
||
namespace Facility.Definition.Swagger | ||
public interface ISwaggerSchema | ||
{ | ||
public interface ISwaggerSchema | ||
{ | ||
string? Ref { get; set; } // parameters, schema | ||
string? Ref { get; set; } // parameters, schema | ||
|
||
string? Description { get; set; } // parameters, headers, schema | ||
string? Description { get; set; } // parameters, headers, schema | ||
|
||
string? Type { get; set; } // parameters (non-body), headers, schema | ||
string? Type { get; set; } // parameters (non-body), headers, schema | ||
|
||
string? Format { get; set; } // parameters (non-body), headers, schema | ||
string? Format { get; set; } // parameters (non-body), headers, schema | ||
|
||
SwaggerSchema? Items { get; set; } // parameters (non-body), headers, schema | ||
SwaggerSchema? Items { get; set; } // parameters (non-body), headers, schema | ||
|
||
JToken? Default { get; set; } // parameters (non-body), headers, schema | ||
JToken? Default { get; set; } // parameters (non-body), headers, schema | ||
|
||
double? Maximum { get; set; } // parameters (non-body), headers, schema | ||
double? Maximum { get; set; } // parameters (non-body), headers, schema | ||
|
||
bool? ExclusiveMaximum { get; set; } // parameters (non-body), headers, schema | ||
bool? ExclusiveMaximum { get; set; } // parameters (non-body), headers, schema | ||
|
||
double? Minimum { get; set; } // parameters (non-body), headers, schema | ||
double? Minimum { get; set; } // parameters (non-body), headers, schema | ||
|
||
bool? ExclusiveMinimum { get; set; } // parameters (non-body), headers, schema | ||
bool? ExclusiveMinimum { get; set; } // parameters (non-body), headers, schema | ||
|
||
int? MaxLength { get; set; } // parameters (non-body), headers, schema | ||
int? MaxLength { get; set; } // parameters (non-body), headers, schema | ||
|
||
int? MinLength { get; set; } // parameters (non-body), headers, schema | ||
int? MinLength { get; set; } // parameters (non-body), headers, schema | ||
|
||
string? Pattern { get; set; } // parameters (non-body), headers, schema | ||
string? Pattern { get; set; } // parameters (non-body), headers, schema | ||
|
||
int? MaxItems { get; set; } // parameters (non-body), headers, schema | ||
int? MaxItems { get; set; } // parameters (non-body), headers, schema | ||
|
||
int? MinItems { get; set; } // parameters (non-body), headers, schema | ||
int? MinItems { get; set; } // parameters (non-body), headers, schema | ||
|
||
bool? UniqueItems { get; set; } // parameters (non-body), headers, schema | ||
bool? UniqueItems { get; set; } // parameters (non-body), headers, schema | ||
|
||
IList<JToken>? Enum { get; set; } // parameters (non-body), headers, schema | ||
IList<JToken>? Enum { get; set; } // parameters (non-body), headers, schema | ||
|
||
double? MultipleOf { get; set; } // parameters (non-body), headers, schema | ||
double? MultipleOf { get; set; } // parameters (non-body), headers, schema | ||
|
||
string? Identifier { get; set; } // parameters, headers, schema | ||
string? Identifier { get; set; } // parameters, headers, schema | ||
|
||
bool? Obsolete { get; set; } // parameters, headers, schema | ||
} | ||
bool? Obsolete { get; set; } // parameters, headers, schema | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
#pragma warning disable 1591 | ||
namespace Facility.Definition.Swagger; | ||
|
||
namespace Facility.Definition.Swagger | ||
public class SwaggerContact | ||
{ | ||
public class SwaggerContact | ||
{ | ||
public string? Name { get; set; } | ||
public string? Name { get; set; } | ||
|
||
public string? Url { get; set; } | ||
public string? Url { get; set; } | ||
|
||
public string? Email { get; set; } | ||
} | ||
public string? Email { get; set; } | ||
} |
Oops, something went wrong.