eiffel-community / eiffel-remrem-generate

Apache License 2.0
8 stars 70 forks source link

REMReM Generate /generate endpoint query params order change got error 400 #181

Closed raja-maragani closed 2 years ago

raja-maragani commented 3 years ago

Description

Eiffel Generate service rest call query parameters order restricted as per current implementation. If Order changed rest call return the 404 error. { "timestamp":"Feb 9, 2021 11:22:31 AM", "status":400, "error":"Bad Request", "message":"Required String parameter \u0027msgType\u0027 is not present", "path":"/eiffelsemantics" }

Example REST Query's calls

Motivation

Exemplification

/eiffelsemantics?msgType=EiffelConfidenceLevelModifiedEvent&failIfNoneFound=true - working /eiffelsemantics?failIfNoneFound=true&msgType=EiffelConfidenceLevelModifiedEvent - not working (Issue)

Benefits

Uses can pass the query parameters in any order.

Possible Drawbacks

No drawbacks

m-linner-ericsson commented 2 years ago

This will be fixed by documentation updates in https://github.com/eiffel-community/eiffel-remrem-generate/pull/187 and https://github.com/eiffel-community/eiffel-remrem-publish/pull/224

jainadc9 commented 2 years ago

Fixed in the above PRs.