OAGi / Score

Score
MIT License
9 stars 6 forks source link

BIE referenced but not expressed in OpenAPI document #1592

Closed dubnemo closed 8 months ago

dubnemo commented 11 months ago

The PATCH response body should be https://oagiscore.net/profile_bie/896

image

However it is not found in the expressed yaml. Should be in this property: x-oagis-bie-uri:

image

dubnemo commented 11 months ago

@hakjuoh @elena-jelisic Did the movement of OpenAPI extensions to under the schema obhject change the logic that @bingqi2045 and I worked on?

dubnemo commented 11 months ago

With my modications to this OpenAPI document, it is now appearing. We do need to revert never-the-less.

image

dubnemo commented 10 months ago

Let's use this GOOD yml as the test for DIFF comparison. It was created with the previous release of Score, and is in the AgGateway github as Traceability API (Original)

AgGateway-Traceability API.yml.zip

hakjuoh commented 10 months ago

@elena-jelisic Check if the GUID corresponding to the BIE pointed to by the ID at the end of the URI (e.g., 896) matches the GUID (e.g., "x-oagis-bie-guid": "bdaf07b470e44b3b9342c45b22dcac70") included in the generated schema. If they are different, identify the reason. If they are the same, investigate why an unintended BIE has been included in the schema.