Skip to content

Commit

Permalink
Fix API schema Authors component documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
xmorave2 committed Aug 3, 2023
1 parent faf2e8a commit 3199e13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions config/vufind/SearchApiRecordFields.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions themes/root/templates/searchapi/openapi.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@
"Authors": {
"type": "object",
"properties": {
"main": {
"description": "Main authors",
"primary": {
"description": "Primary authors",
"type": "array",
"items": {
"$ref": "#/components/schemas/AuthorWithRoles"
Expand Down

0 comments on commit 3199e13

Please sign in to comment.