Skip to content

Commit

Permalink
- update raml-util
Browse files Browse the repository at this point in the history
  • Loading branch information
psmagin committed Feb 14, 2024
1 parent 124ea3f commit 218e3d3
Show file tree
Hide file tree
Showing 88 changed files with 702 additions and 778 deletions.
1 change: 0 additions & 1 deletion ramls/alternative-title-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/async-migration.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

/inventory-storage/migrations:
Expand Down
1 change: 0 additions & 1 deletion ramls/bound-with-part.raml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/call-number-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/classification-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/contributor-name-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/contributor-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/electronic-access-relationship.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/holdings-note-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/holdings-sources.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/holdings-storage.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
validate: !include raml-util/traits/validation.raml
Expand Down
1 change: 0 additions & 1 deletion ramls/holdings-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/identifier-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/ill-policy.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/instance-format.raml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
validate: !include raml-util/traits/validation.raml
Expand Down
1 change: 0 additions & 1 deletion ramls/instance-iteration.raml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

/instance-storage/instances/iteration:
Expand Down
1 change: 0 additions & 1 deletion ramls/instance-note-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
2 changes: 0 additions & 2 deletions ramls/instance-preceding-succeeding-titles.raml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
validate: !include raml-util/traits/validation.raml
Expand Down Expand Up @@ -105,7 +104,6 @@ resourceTypes:
example: "Internal server error, contact administrator"
delete:
description: Delete a preceding/succeeding title by id
is: [language]
responses:
204:
description: "The preceding/succeeding title has been deleted"
Expand Down
1 change: 0 additions & 1 deletion ramls/instance-reindex.raml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
Expand Down
1 change: 0 additions & 1 deletion ramls/instance-relationship-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/instance-set.raml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml
searchable: !include raml-util/traits/searchable.raml

Expand Down
2 changes: 0 additions & 2 deletions ramls/instance-status.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand All @@ -41,7 +40,6 @@ resourceTypes:
description: Create a new instance status
is: [validate]
delete:
is: [language]
description: "Delete all instance statuses"
responses:
204:
Expand Down
4 changes: 0 additions & 4 deletions ramls/instance-storage.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
instanceRelationships: !include instancerelationships.json

traits:
language: !include raml-util/traits/language.raml
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml

Expand Down Expand Up @@ -102,7 +101,6 @@ resourceTypes:
the storage layer only knows how to insert or retrieve instance records by ID.
/source-record:
delete:
is: [language]
responses:
204:
description: "Source record deleted"
Expand All @@ -126,14 +124,12 @@ resourceTypes:
Note: When the Inventory instance record is deleted, its source record in mod-inventory-storage is automatically deleted. If the Inventory instance record is linked to a corresponding record in mod-source-record-storage, that SRS record is NOT automatically deleted.
/marc-json:
displayName: MARC source record as JSON
is: [language]
type:
collection-item:
exampleItem: !include examples/marc.json
schema: marcJson
/mods:
displayName: MODS source record - not implemented yet
is: [language]
get:
responses:
500:
Expand Down
1 change: 0 additions & 1 deletion ramls/instance-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/inventory-hierarchy.raml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/inventory-view.raml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
Expand Down
1 change: 0 additions & 1 deletion ramls/item-damaged-statuses.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/item-note-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/item-storage-dereferenced.raml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
validate: !include raml-util/traits/validation.raml
Expand Down
1 change: 0 additions & 1 deletion ramls/item-storage.raml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
validate: !include raml-util/traits/validation.raml
Expand Down
2 changes: 0 additions & 2 deletions ramls/loan-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand All @@ -38,7 +37,6 @@ resourceTypes:
]
description: Return a list of loan types
delete:
is: [language]
description: "Delete all loan types"
responses:
204:
Expand Down
2 changes: 0 additions & 2 deletions ramls/location.raml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand All @@ -42,7 +41,6 @@ resourceTypes:
description: Create a new location
is: [validate]
delete:
is: [language]
description: "Delete all locations"
responses:
204:
Expand Down
4 changes: 0 additions & 4 deletions ramls/locationunit.raml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand All @@ -48,7 +47,6 @@ resourceTypes:
is: [validate]
delete:
description: "Delete all institutions"
is: [language]
responses:
204:
description: "All institutions deleted"
Expand Down Expand Up @@ -84,7 +82,6 @@ resourceTypes:
is: [validate]
delete:
description: "Delete all campuses"
is: [language]
responses:
204:
description: "All campuses deleted"
Expand Down Expand Up @@ -120,7 +117,6 @@ resourceTypes:
is: [validate]
delete:
description: "Delete all libraries"
is: [language]
responses:
204:
description: "All libraries deleted"
Expand Down
2 changes: 0 additions & 2 deletions ramls/material-type.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand All @@ -41,7 +40,6 @@ resourceTypes:
is: [validate]
delete:
description: "Delete all material types"
is: [language]
responses:
204:
description: "All material types deleted"
Expand Down
2 changes: 0 additions & 2 deletions ramls/mode-of-issuance.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand All @@ -40,7 +39,6 @@ resourceTypes:
description: Create a new mode of issuance
is: [validate]
delete:
is: [language]
description: "Delete all modes of issuance"
responses:
204:
Expand Down
1 change: 0 additions & 1 deletion ramls/nature-of-content-term.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
1 change: 0 additions & 1 deletion ramls/oai-pmh-view.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ types:
errors: !include raml-util/schemas/errors.schema

traits:
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml

resourceTypes:
Expand Down
2 changes: 1 addition & 1 deletion ramls/raml-util
Submodule raml-util updated 37 files
+89 −0 .github/workflows/api-doc.yml
+59 −0 .github/workflows/api-lint.yml
+40 −0 .github/workflows/api-schema-lint.yml
+0 −65 Jenkinsfile
+1 −2 README.md
+0 −169 examples/mod-users/userdata.json.sample
+0 −53 examples/mod-users/users.raml.sample
+0 −23 examples/tagged-record-example/user.sample
+0 −3 ramls/codex/codex-instances-sources.raml
+0 −1 ramls/codex/codex-packages.raml
+0 −1 ramls/codex/codex.raml
+1 −2 ramls/jsonSchemas.raml
+1 −2 ramls/ramls.raml
+0 −53 ramls/tagged-record-example/users.raml
+0 −1 rtypes/attachments.raml
+0 −1 rtypes/collection-get-with-json-response.raml
+0 −1 rtypes/collection-get.raml
+1 −2 rtypes/collection-stream.raml
+0 −1 rtypes/collection-with-json-response.raml
+0 −1 rtypes/collection.raml
+0 −1 rtypes/get-delete-with-json-response.raml
+0 −1 rtypes/get-delete.raml
+0 −1 rtypes/get-only-with-json-response.raml
+0 −1 rtypes/get-only.raml
+0 −1 rtypes/item-collection-get-with-json-response.raml
+0 −1 rtypes/item-collection-get.raml
+5 −1 rtypes/item-collection-with-json-response.raml
+0 −1 rtypes/item-collection.raml
+0 −1 rtypes/post-empty-body.raml
+1 −0 schemas/codex/codex_instance_cqlschema-ext.json
+1 −0 schemas/codex/codex_instance_cqlschema.json
+1 −0 schemas/codex/codex_package_cqlschema-ext.json
+1 −0 schemas/codex/codex_package_cqlschema.json
+3 −1 schemas/codex/packageType.json
+2 −2 schemas/codex/source.json
+0 −9 traits/language.raml
+8 −0 traits/pageable.raml
Loading

0 comments on commit 218e3d3

Please sign in to comment.