Closed rubendel closed 1 year ago
A little bit more info, I managed to get this working by adding the namespaceUri
property to the following two types:
ClassificationRelationContract.v4
ClassificationPropertyContract.v4
This might not be conclusive, but these are currently being used in our software and triggered errors when reading the results coming back from the bSDD production environment.
So there could be two situations, I think:
namespaceUri
properties on the mentioned typesTwo additional suggestions:
Hi @rubendel, thank you for reporting this. No changes were made to that API recently, so it was probably like this for some time already. On the forum, we announced changes that we are rolling out in September, which will result in v5. We will update the spec as well. cc: @Baars-IT
Hi @rubendel, thanks again for reporting the issue! Updating the OpenAPI definition on SwaggerHub is a manual process and sometimes we forget to update it. It is updated now.
About your additional suggestions:
Thanks for the responses @atomczak and @Baars-IT and for the updated spec.
Describe the bug When calling
/api/Classification/v4
on production (https://api.bsdd.buildingsmart.org) the returnedClassificationContract.v4
seems to referenceClassificationPropertyContract.v4
objects that have thenamespaceUri
property, which (according to https://app.swaggerhub.com/apis/buildingSMART/Dictionaries/v1#/Classification/get_api_Classification_v4) is not a valid property.To Reproduce Steps to reproduce the behavior:
/api/Classification/v4
(on production)Expected behavior No
namespaceUri
property onClassificationPropertyContract.v4
, or an updated spec.Additional context From https://forums.buildingsmart.org/t/bsdd-tech-updates/4889 I understand some changes have been implemented, also on production, but the OpenAPI spec that is being referred to from the bSDD github page (https://github.com/buildingSMART/bSDD) still seems to be referring to a V1 of the OpenAPI spec. I suspect perhaps that's where something is going wrong because until now I have not updated my code that was working a few months ago, maybe I am missing the updated spec.