-
Key: SYSMOAS_-38
-
Status: open
-
Source: Elparazim ( Mr. George Edward Roberts)
-
Summary:
Most of the API is over specified… as an example, getExternalRelationship has that you need to give it a Project… but you do not need a Project, you only need a ProjectId… so for this one example…
getExternalRelationships(project:Project,commit:Commit):ExternalRelationship[0..*] should be
getExternalRelationships(projectId:UID,commitId:UID):ExternalRelationship[0..*]this would follow the Interface Segregation Principle (“no client should be forced to depend on methods it does not use”)… most of the API is over specified in this way
I have a reworked model at https://material.elparazim.com/SysMLv2API/
-
Reported: SystemsModelingAPI 1.0b2 — Fri, 19 Apr 2024 15:23 GMT
-
Updated: Mon, 22 Apr 2024 16:01 GMT
SYSMOAS_ — over specification of the API
- Key: SYSMOAS_-38
- OMG Task Force: Systems Modeling API and Services (SystemsModelingAPI) 1.0 FTF 2