Skip to content

Commit

Permalink
add comment field (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerem1508 authored Oct 3, 2023
1 parent 98037e8 commit aac22be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/api/commons/queries/relations.query.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default [
otherAssociatedObjectIds: { $ifNull: ['$otherAssociatedObjectIds', []] },
otherAssociatedObjects: 1,
active: { $ifNull: ['$active', null] },
comment: { $ifNull: ['$comment', null] },
},
},
];
3 changes: 3 additions & 0 deletions src/openapi/schemas/relations/relation-payload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,6 @@ properties:
active:
type: boolean
nullable: true
comment:
type: string
nullable: true
3 changes: 3 additions & 0 deletions src/openapi/schemas/relations/relation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,7 @@ allOf:
active:
type: boolean
nullable: true
comment:
type: string
nullable: true
- $ref: '../../api.yml#/components/schemas/Metas'

0 comments on commit aac22be

Please sign in to comment.