Skip to content

Commit

Permalink
Updated API definition is numberOfCycles
Browse files Browse the repository at this point in the history
  • Loading branch information
ostephens committed Jan 13, 2025
1 parent 2404f50 commit ee8cf04
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions openapi/serials-management.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: 1.1.0
version: 1.2.0
title: Folio Serials Management
description: API for the Folio library services platform mod-serials-management app
servers:
Expand Down Expand Up @@ -716,7 +716,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/serialRuleset'
$ref: '#/components/schemas/PredictedPieceSetGenerator'
responses:
'201':
description: Created
Expand All @@ -738,7 +738,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/serialRuleset'
$ref: '#/components/schemas/PredictedPieceSetGenerator'
responses:
'201':
description: Created
Expand Down Expand Up @@ -1904,6 +1904,8 @@ components:
startDate:
type: string
format: date
numberOfCycles:
type: integer
note:
type: string
PredictedPieceSetResults:
Expand Down Expand Up @@ -1931,3 +1933,16 @@ components:
type: integer
totalRecords:
type: integer
PredictedPieceSetGenerator:
allOf:
- $ref: '#/components/schemas/SerialRuleset'
- type: object
properties:
note:
type: string
numberOfCycles:
type: integer
startingValues:
type: array
items:
$ref: '#/components/schemas/UserConfiguredTemplateMetadata'

0 comments on commit ee8cf04

Please sign in to comment.