Skip to content

Commit

Permalink
fixup! feat!: improve TD serialization behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jan 4, 2024
1 parent c93c7a7 commit 8d8e296
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/definitions/security/ace_security_scheme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import "../extensions/json_parser.dart";

import "security_scheme.dart";

/// Indicates the `scheme` value for identifying [AceSecurityScheme]s.
const aceSecuritySchemeName = "ace:ACESecurityScheme";

/// Experimental ACE Security Scheme.
Expand Down
2 changes: 2 additions & 0 deletions lib/src/definitions/security/apikey_security_scheme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import "../extensions/json_parser.dart";
import "security_scheme.dart";

const _defaultInValue = "query";

/// Indicates the `scheme` value for identifying [ApiKeySecurityScheme]s.
const apiKeySecuritySchemeName = "apikey";

/// API key authentication security configuration identified by the Vocabulary
Expand Down
1 change: 1 addition & 0 deletions lib/src/definitions/security/auto_security_scheme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "package:curie/curie.dart";
import "../extensions/json_parser.dart";
import "security_scheme.dart";

/// Indicates the `scheme` value for identifying [AutoSecurityScheme]s.
const autoSecuritySchemeName = "auto";

/// An automatic security configuration identified by the
Expand Down
1 change: 1 addition & 0 deletions lib/src/definitions/security/basic_security_scheme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import "security_scheme.dart";

const _defaultInValue = "header";

/// Indicates the `scheme` value for identifying [BasicSecurityScheme]s.
const basicSecuritySchemeName = "basic";

/// Basic Authentication security configuration identified by the Vocabulary
Expand Down
1 change: 1 addition & 0 deletions lib/src/definitions/security/bearer_security_scheme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const _defaultInValue = "header";
const _defaultAlgValue = "ES256";
const _defaultFormatValue = "jwt";

/// Indicates the `scheme` value for identifying [BearerSecurityScheme]s.
const bearerSecuritySchemeName = "bearer";

/// Bearer Token security configuration identified by the Vocabulary Term
Expand Down
1 change: 1 addition & 0 deletions lib/src/definitions/security/combo_security_scheme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "package:curie/curie.dart";
import "../extensions/json_parser.dart";
import "security_scheme.dart";

/// Indicates the `scheme` value for identifying [ComboSecurityScheme]s.
const comboSecuritySchemeName = "combo";

/// A combination of other security schemes identified by the Vocabulary Term
Expand Down
1 change: 1 addition & 0 deletions lib/src/definitions/security/digest_security_scheme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "package:curie/curie.dart";
import "../extensions/json_parser.dart";
import "security_scheme.dart";

/// Indicates the `scheme` value for identifying [DigestSecurityScheme]s.
const digestSecuritySchemeName = "digest";

const _defaultInValue = "header";
Expand Down
1 change: 1 addition & 0 deletions lib/src/definitions/security/no_security_scheme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "package:curie/curie.dart";
import "../extensions/json_parser.dart";
import "security_scheme.dart";

/// Indicates the `scheme` value for identifying [NoSecurityScheme]s.
const nosecSecuritySchemeName = "nosec";

/// A security configuration corresponding to identified by the Vocabulary Term
Expand Down
1 change: 1 addition & 0 deletions lib/src/definitions/security/oauth2_security_scheme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "package:curie/curie.dart";
import "../extensions/json_parser.dart";
import "security_scheme.dart";

/// Indicates the `scheme` value for identifying [OAuth2SecurityScheme]s.
const oAuth2SecuritySchemeName = "oauth2";

/// OAuth 2.0 authentication security configuration for systems conformant with
Expand Down
1 change: 1 addition & 0 deletions lib/src/definitions/security/psk_security_scheme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "package:curie/curie.dart";
import "../extensions/json_parser.dart";
import "security_scheme.dart";

/// Indicates the `scheme` value for identifying [PskSecurityScheme]s.
const pskSecuritySchemeName = "psk";

/// Pre-shared key authentication security configuration identified by the
Expand Down

0 comments on commit 8d8e296

Please sign in to comment.