-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
73b4b42
commit b6acf7b
Showing
6 changed files
with
90 additions
and
9 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// This Source Code Form is subject to the terms of the MIT License. | ||
// If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT. | ||
// Copyright (C) Leszek Pomianowski and OpenAPI Client Contributors. | ||
// All Rights Reserved. | ||
|
||
namespace OpenApi.Client.Cli.Settings; | ||
|
||
/// <summary> | ||
/// Specifies the type of JSON serializer to use. | ||
/// </summary> | ||
/// <remarks> | ||
/// This enum is used in the GenerateCommandSettings to allow the user to choose the JSON serializer. | ||
/// SystemTextJson represents the System.Text.Json serializer. | ||
/// NewtonsoftJson represents the Newtonsoft.Json serializer. | ||
/// </remarks> | ||
public enum JsonSerializerType | ||
{ | ||
/// <summary> | ||
/// Represents the System.Text.Json serializer. | ||
/// </summary> | ||
SystemTextJson, | ||
|
||
/// <summary> | ||
/// Represents the Newtonsoft.Json serializer. | ||
/// </summary> | ||
NewtonsoftJson | ||
} |