@@ -160,7 +160,7 @@ public static IApplicationBuilder MapGraphQL(
160
160
/// </exception>
161
161
public static GraphQLHttpEndpointConventionBuilder MapGraphQLHttp (
162
162
this IEndpointRouteBuilder endpointRouteBuilder ,
163
- string pattern = GraphQLHttpPath ,
163
+ [ StringSyntax ( "Route" ) ] string pattern = GraphQLHttpPath ,
164
164
string ? schemaName = null )
165
165
=> MapGraphQLHttp ( endpointRouteBuilder , Parse ( pattern ) , schemaName ) ;
166
166
@@ -239,7 +239,7 @@ public static GraphQLHttpEndpointConventionBuilder MapGraphQLHttp(
239
239
/// </exception>
240
240
public static WebSocketEndpointConventionBuilder MapGraphQLWebSocket (
241
241
this IEndpointRouteBuilder endpointRouteBuilder ,
242
- string pattern = GraphQLWebSocketPath ,
242
+ [ StringSyntax ( "Route" ) ] string pattern = GraphQLWebSocketPath ,
243
243
string ? schemaName = null )
244
244
=> MapGraphQLWebSocket ( endpointRouteBuilder , Parse ( pattern ) , schemaName ) ;
245
245
@@ -317,7 +317,7 @@ public static WebSocketEndpointConventionBuilder MapGraphQLWebSocket(
317
317
/// </exception>
318
318
public static IEndpointConventionBuilder MapGraphQLSchema (
319
319
this IEndpointRouteBuilder endpointRouteBuilder ,
320
- string pattern = GraphQLSchemaPath ,
320
+ [ StringSyntax ( "Route" ) ] string pattern = GraphQLSchemaPath ,
321
321
string ? schemaName = null )
322
322
=> MapGraphQLSchema ( endpointRouteBuilder , Parse ( pattern ) , schemaName ) ;
323
323
0 commit comments