Skip to content

Commit

Permalink
Rollback accepting an integer value in the description
Browse files Browse the repository at this point in the history
Committee can't decide which type this is.
See interagent/committee#286
Fixes sul-dlss/argo#2253
Ref sul-dlss/cocina-models#144
  • Loading branch information
jcoyne committed Oct 20, 2020
1 parent 5c21840 commit e55e18e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,10 @@ components:
description: String or integer value of the descriptive element.
oneOf:
- type: string
- type: integer
# Title note (nonsorting character count) was supposed to be able to accept an integer value,
# but this triggered a bug in committee:
# https://github.com/interagent/committee/issues/286
# - type: integer
type:
description: Type of value provided by the descriptive element.
type: string
Expand Down

0 comments on commit e55e18e

Please sign in to comment.