Skip to content

Commit

Permalink
bump cocina-models version to get latest model validation changes
Browse files Browse the repository at this point in the history
update openapi.yml accordingly
  • Loading branch information
jmartin-sul committed Nov 9, 2023
1 parent 0069ca5 commit 21b9fda
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem 'rails', '~> 7.1.0'

# DLSS/domain-specific dependencies
gem 'cocina-models', '~> 0.92.0'
gem 'cocina-models', '~> 0.93.0'
gem 'datacite', '~> 0.3.0'
gem 'dor-workflow-client', '~> 5.0'
gem 'druid-tools', '~> 2.2'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ GEM
capistrano-bundler (>= 1.1, < 3)
capistrano-shared_configs (0.2.2)
chronic (0.10.2)
cocina-models (0.92.0)
cocina-models (0.93.0)
activesupport
deprecation
dry-struct (~> 1.0)
Expand Down Expand Up @@ -581,7 +581,7 @@ DEPENDENCIES
capistrano-passenger
capistrano-rails
capistrano-shared_configs
cocina-models (~> 0.92.0)
cocina-models (~> 0.93.0)
committee
config
datacite (~> 0.3.0)
Expand Down
18 changes: 12 additions & 6 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2184,11 +2184,9 @@ components:
description: MIME Type of the File.
type: string
languageTag:
description: "BCP 47 language tag: https://www.rfc-editor.org/rfc/rfc4646.txt -- other applications (like media players) expect language codes of this format, see e.g. https://videojs.com/guides/text-tracks/#srclang"
type: string
$ref: '#/components/schemas/LanguageTag'
use:
description: Use for the File.
type: string
$ref: '#/components/schemas/FileUse'
hasMessageDigests:
type: array
items:
Expand Down Expand Up @@ -2283,6 +2281,10 @@ components:
type: array
items:
$ref: '#/components/schemas/File'
FileUse:
description: Use for the File.
type: string
nullable: true
FolioCatalogLink:
description: A linkage between an object and a Folio catalog record
type: object
Expand Down Expand Up @@ -2411,6 +2413,10 @@ components:
valueLanguage:
# description: present for mapping to additional schemas in the future and for consistency but not otherwise used
$ref: "#/components/schemas/DescriptiveValueLanguage"
LanguageTag:
description: "BCP 47 language tag: https://www.rfc-editor.org/rfc/rfc4646.txt -- other applications (like media players) expect language codes of this format, see e.g. https://videojs.com/guides/text-tracks/#srclang"
type: string
nullable: true
License:
description: The license governing reuse of the DRO. Should be an IRI for known licenses (i.e. CC, RightsStatement.org URI, etc.).
type: string
Expand Down Expand Up @@ -2899,11 +2905,11 @@ components:
hasMimeType:
type: string
languageTag:
type: string
$ref: '#/components/schemas/LanguageTag'
externalIdentifier:
type: string
use:
type: string
$ref: '#/components/schemas/FileUse'
hasMessageDigests:
type: array
items:
Expand Down

0 comments on commit 21b9fda

Please sign in to comment.