From cae12820e4bf3c7d3cd45b06acbcffaea8a34b0a Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Mon, 30 Aug 2021 16:44:56 +0100 Subject: [PATCH] Replace @GraphQlController in documentation snippets --- spring-graphql-docs/src/docs/asciidoc/index.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spring-graphql-docs/src/docs/asciidoc/index.adoc b/spring-graphql-docs/src/docs/asciidoc/index.adoc index d5715f0b..5722ff7b 100644 --- a/spring-graphql-docs/src/docs/asciidoc/index.adoc +++ b/spring-graphql-docs/src/docs/asciidoc/index.adoc @@ -376,7 +376,7 @@ fetch the data for specific GraphQL fields. For example: [source,java,indent=0,subs="verbatim,quotes"] ---- - @GraphQlController + @Controller public class GreetingController { @QueryMapping // <1> @@ -419,7 +419,7 @@ parent type name, and the field name: [source,java,indent=0,subs="verbatim,quotes"] ---- - @GraphQlController + @Controller public class BookController { @SchemaMapping(typeName="Book", field="author") @@ -436,7 +436,7 @@ defaults to type "Book" and field "author": [source,java,indent=0,subs="verbatim,quotes"] ---- - @GraphQlController + @Controller public class BookController { @SchemaMapping @@ -451,7 +451,7 @@ type name for all handler methods in the class. [source,java,indent=0,subs="verbatim,quotes"] ---- - @GraphQlController + @Controller @SchemaMapping(typeName="Book") public class BookController { @@ -467,7 +467,7 @@ for fields under the Query, Mutation, and Subscription types respectively. For e [source,java,indent=0,subs="verbatim,quotes"] ---- - @GraphQlController + @Controller public class BookController { @QueryMapping @@ -544,7 +544,7 @@ converts the value by serializing it to JSON first and then to the target type. [source,java,indent=0,subs="verbatim,quotes"] ---- - @GraphQlController + @Controller public class BookController { @QueryMapping @@ -576,7 +576,7 @@ of the expected target type. [source,java,indent=0,subs="verbatim,quotes"] ---- - @GraphQlController + @Controller public class BookController { @SchemaMapping