We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fd064b commit d660784Copy full SHA for d660784
router/pkg/schemaloader/loader.go
@@ -192,7 +192,7 @@ func extractOperationDescription(doc *ast.Document) string {
192
if ref.Kind == ast.NodeKindOperationDefinition {
193
opDef := doc.OperationDefinitions[ref.Ref]
194
if opDef.Description.IsDefined && opDef.Description.Content.Length() > 0 {
195
- description := doc.Input.ByteSliceString(opDef.Description.Content)
+ description := string(doc.Input.ByteSlice(opDef.Description.Content))
196
return strings.TrimSpace(description)
197
}
198
return ""
0 commit comments