Skip to content

Commit 502fb84

Browse files
committed
Introduce spector tiers
1 parent 57a6303 commit 502fb84

File tree

64 files changed

+153
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+153
-4
lines changed

packages/http-specs/specs/authentication/api-key/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ using Spector;
77
@scenarioService("/authentication/api-key")
88
@doc("Illustrates clients generated with ApiKey authentication.")
99
@useAuth(ApiKeyAuth<ApiKeyLocation.header, "x-ms-api-key">)
10+
@scenarioTier("core")
1011
namespace Authentication.ApiKey;
1112

1213
@scenario

packages/http-specs/specs/authentication/http/custom/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ using TypeSpec.Http;
55
using Spector;
66

77
@scenarioService("/authentication/http/custom")
8+
@scenarioTier("core")
89
@doc("Illustrates clients generated with generic HTTP auth.")
910
@useAuth({
1011
type: AuthType.http,

packages/http-specs/specs/authentication/oauth2/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ using Http;
55
using Spector;
66

77
@scenarioService("/authentication/oauth2")
8+
@scenarioTier("core")
89
@doc("Illustrates clients generated with OAuth2 authentication.")
910
@useAuth(OAuth2Auth<[MyFlow]>)
1011
namespace Authentication.OAuth2;

packages/http-specs/specs/authentication/union/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ using Http;
55
using Spector;
66

77
@scenarioService("/authentication/union")
8+
@scenarioTier("core")
89
@doc("Illustrates clients generated with ApiKey and OAuth2 authentication.")
910
@useAuth(ApiKeyAuth<ApiKeyLocation.header, "x-ms-api-key"> | OAuth2Auth<[MyFlow]>)
1011
namespace Authentication.Union;

packages/http-specs/specs/encode/bytes/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using Spector;
66

77
@doc("Test for encode decorator on bytes.")
88
@scenarioService("/encode/bytes")
9+
@scenarioTier("core")
910
namespace Encode.Bytes;
1011

1112
@encode(BytesKnownEncoding.base64url)

packages/http-specs/specs/encode/datetime/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using Spector;
66

77
@doc("Test for encode decorator on datetime.")
88
@scenarioService("/encode/datetime")
9+
@scenarioTier("core")
910
namespace Encode.Datetime;
1011

1112
@encode(DateTimeKnownEncoding.unixTimestamp, int64)

packages/http-specs/specs/encode/duration/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using Spector;
66

77
@doc("Test for encode decorator on duration.")
88
@scenarioService("/encode/duration")
9+
@scenarioTier("core")
910
namespace Encode.Duration;
1011

1112
@route("/query")

packages/http-specs/specs/encode/numeric/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using Spector;
66

77
@doc("Test for encode decorator on integer.")
88
@scenarioService("/encode/numeric")
9+
@scenarioTier("core")
910
namespace Encode.Numeric;
1011

1112
@route("/property")

packages/http-specs/specs/parameters/basic/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using Spector;
66

77
@doc("Test for basic parameters cases.")
88
@scenarioService("/parameters/basic")
9+
@scenarioTier("core")
910
namespace Parameters.Basic;
1011

1112
@route("/explicit-body")

packages/http-specs/specs/parameters/body-optionality/main.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using Spector;
66

77
@doc("Test describing optionality of the request body.")
88
@scenarioService("/parameters/body-optionality")
9+
@scenarioTier("core")
910
namespace Parameters.BodyOptionality;
1011

1112
model BodyModel {

0 commit comments

Comments
 (0)