Generic libraryId

This commit is contained in:
Nicholas Wallace 2024-02-25 18:42:20 +00:00
parent c89bd1b414
commit c9832cab99

View file

@ -20,13 +20,16 @@ const { filePathToPOSIX } = require('../utils/fileUtils')
* description: The library ID for any libraries after 2.3.0. * description: The library ID for any libraries after 2.3.0.
* format: uuid * format: uuid
* example: e4bb1afb-4a4f-4dd6-8be0-e615d233185b * example: e4bb1afb-4a4f-4dd6-8be0-e615d233185b
* libraryId:
* type: string
* anyOf:
* - $ref: '#/components/schemas/oldLibraryId'
* - $ref: '#/components/schemas/newLibraryId'
* library: * library:
* type: object * type: object
* properties: * properties:
* id: * id:
* oneOf: * $ref: '#/components/schemas/libraryId'
* - $ref: '#/components/schemas/oldLibraryId'
* - $ref: '#/components/schemas/newLibraryId'
* name: * name:
* type: string * type: string
* description: The name of the library. * description: The name of the library.