jakesmolka / api-to-go

0 stars 0 forks source link

API spec incompatibility #1

Open jakesmolka opened 7 years ago

jakesmolka commented 7 years ago

Running docker-compose up yields in:

goswagger_1  | The swagger spec at "/src/ehr.json" is invalid against swagger specification 2.0. see errors :
goswagger_1  | - path /ehr/{ehr_id}/composition/{versioned_object_uid} overlaps with /ehr/{ehr_id}/composition/{version_uid}

Most likely openEHR API issue (or feature).

jakesmolka commented 5 years ago

Recent first non-WIP release of openEHR's REST API still doesn't allow translation into swagger spec.

goswagger_1  | The swagger spec at "/spec/src/ehr.json" is invalid against swagger specification 2.0. see errors :
goswagger_1  | - path /ehr/{ehr_id}/composition/{version_uid} overlaps with /ehr/{ehr_id}/composition/{versioned_object_uid}

Manual validation also shows:

Semantic error at paths./ehr/{ehr_id}/composition/{preceding_version_uid}
Equivalent paths are not allowed.
Jump to line 980
Semantic error at paths./ehr/{ehr_id}/composition/{version_uid}
Equivalent paths are not allowed.
Jump to line 1022