diff --git a/config/vufind/SearchApiRecordFields.yaml b/config/vufind/SearchApiRecordFields.yaml index 3d50d733824..399fe6d39d8 100644 --- a/config/vufind/SearchApiRecordFields.yaml +++ b/config/vufind/SearchApiRecordFields.yaml @@ -15,11 +15,9 @@ authors: vufind.method: getDeduplicatedAuthors vufind.default: true description: >- - Deduplicated author information including main, corporate and secondary + Deduplicated author information including primary, corporate and secondary authors - type: array - items: - $ref: '#/components/schemas/Authors' + $ref: '#/components/schemas/Authors' awards: vufind.method: getAwards description: Award notes diff --git a/themes/root/templates/searchapi/openapi.phtml b/themes/root/templates/searchapi/openapi.phtml index f21a88d059f..7cc53b47552 100644 --- a/themes/root/templates/searchapi/openapi.phtml +++ b/themes/root/templates/searchapi/openapi.phtml @@ -235,8 +235,8 @@ "Authors": { "type": "object", "properties": { - "main": { - "description": "Main authors", + "primary": { + "description": "Primary authors", "type": "array", "items": { "$ref": "#/components/schemas/AuthorWithRoles"