-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I created a draft PR #180. There was a lot to cover and I included those discussion points in the PR.
The reason for this issue is because the code changes are likely not to be easily comparable. For example, RestrictionVisitor ended up be largely a fully rewrite (although, most of the code still remains, it was condensed and helper methods were used - therefore it looks very different overall).
After comparing three ontologies before the rewrite and using the rewrite .jar, everything seems to be generated as I expected. Mostly the same overall, including some bug fixes.
For some things (such as hasDegree for ProfessorInArtificialIntelligence referring to a subset [i.e. MS and PhD] of the Degree enum from example.owl), I made some assumptions and it renders the OpenAPI spec slightly differently. I may have made incorrect assumptions. Or, there may be a need/interest for both possibilities. I also would like help verifying if I made any errors.
I can mark the PR ready for review after any concerns are addressed. Thank you in advance!