Skip to content

Commit

Permalink
Change masking roleid to role
Browse files Browse the repository at this point in the history
  • Loading branch information
gerrycampion committed Dec 8, 2023
1 parent e0150d6 commit 92d98af
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
7 changes: 3 additions & 4 deletions docs/USDM_API.json
Original file line number Diff line number Diff line change
Expand Up @@ -2057,15 +2057,14 @@
],
"title": "Description"
},
"roleId": {
"type": "string",
"title": "Roleid"
"role": {
"$ref": "#/components/schemas/Code"
}
},
"type": "object",
"required": [
"id",
"roleId"
"role"
],
"title": "Masking"
},
Expand Down
7 changes: 3 additions & 4 deletions docs/USDM_API.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1312,13 +1312,12 @@ components:
- type: string
- type: 'null'
title: Description
roleId:
type: string
title: Roleid
role:
$ref: '#/components/schemas/Code'
type: object
required:
- id
- roleId
- role
title: Masking
NarrativeContent:
properties:
Expand Down
3 changes: 1 addition & 2 deletions model/masking.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from typing import List
from .api_base_model import ApiBaseModelWithIdAndDesc
from .code import Code

class Masking(ApiBaseModelWithIdAndDesc):
roleId: str
role: Code

0 comments on commit 92d98af

Please sign in to comment.