From c6f0078d1fdd6c0ccd040c76b033d3cf8b7d77d7 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Tue, 20 Oct 2020 16:20:08 -0500 Subject: [PATCH] Rollback accepting an integer value in the description Committee can't decide which type this is. See interagent/committee#286 Fixes sul-dlss/argo#2253 Ref sul-dlss/cocina-models#144 Ref sul-dlss/dor-services-app#1073 --- openapi.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openapi.yml b/openapi.yml index a786f79..f60b2bc 100644 --- a/openapi.yml +++ b/openapi.yml @@ -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