before-interop / anomalieAdresse

Ce protocole permet le traitement d'une demande de création ou de modification d'adresses immeuble dans les IPE
https://before-interop.github.io/anomalieAdresse/
1 stars 6 forks source link

Fix invalid refs to properties in Interop.openapi.yaml #122

Closed hamdan-ahmad-lb closed 2 months ago

hamdan-ahmad-lb commented 2 months ago

Recently, spacing https://github.com/before-interop/common/issues/44 fixed spacing and schemas nested parts, especially for those using the allOf keywords. Some of these schemas in https://github.com/before-interop/common were referenced in this project using the $ref keyword. Since $ref links uses a common syntax not specific for OpenApi files, it is not aware that properties nested in allOf elements are part of the schema itself. That's why we need to explicitly specify that these properties are nested in allOf/1 where 1 is the second element of the schemas nested under allOf.

vmeunier commented 2 months ago

Done in #127