sensinov / djane

Context information management for hustle-free data sharing
Eclipse Public License 2.0
15 stars 5 forks source link

Upsert Endpoint does not follow Swagger definition #44

Open arvdrpoo opened 4 years ago

arvdrpoo commented 4 years ago

The /entityOperations/upsert endpoint does not follow the swagger documentation linked from the djane.io website.

The swagger doc specifies the flag to be options=update or options=replace, while here Djane accepts the options under the form of flag=replace, flag=update, flag=noOverwrite

https://github.com/sensinov/djane/blob/7a3952bacd6e82c0b48c905dcf5583c9428ddf97/routes/entityOperations.js#L45