Skip to content

Commit

Permalink
doc(open-api): add missing schema for JobStep
Browse files Browse the repository at this point in the history
  • Loading branch information
MDeLuise authored and Coduz committed Mar 8, 2024
1 parent bf69d0b commit 49fc31a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions rest-api/resources/src/main/resources/openapi/jobStep/jobStep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,33 @@ components:
$ref: '../openapi.yaml#/components/schemas/kapuaId'
required: true
schemas:
jobStepProperty:
description: Property of a Job's Step
allOf:
- type: object
properties:
name:
type: string
propertyType:
type: string
propertyValue:
type: string
jobStep:
description: Step of the Job
allOf:
- $ref: '../openapi.yaml#/components/schemas/kapuaNamedEntity'
- type: object
properties:
jobId:
type: string
jobStepDefinitionId:
type: string
stepIndex:
type: integer
stepProperties:
type: object
allOf:
- $ref: '#/components/schemas/jobStepProperty'
example:
type: jobStep
id: BL2MaF-ldS0
Expand Down

0 comments on commit 49fc31a

Please sign in to comment.