Closed Isacholm closed 1 year ago
Hi @Isacholm, where did you find the documentation? I checked https://github.com/eiffel-community/eiffel-remrem-publish/blob/master/wiki/markdown/usage/service.md which in turn points to https://github.com/eiffel-community/eiffel-remrem-publish/blob/master/wiki/markdown/statusCodes.md and this one says:
| 200 | SUCCESS | Event sent successfully | Is returned if the request is completed successfully.|
Of course, the documentation you found may have been updated as the issue is more than 2 years old...
I found it, the status code displayed directly at swagger page. Confirmed.
Solution available at https://github.com/z-sztrom/eiffel-remrem-publish/tree/swager-status-code.
The code 201 is not displayed any more.
Note, that the success status code is displayed at the top of the endpoint section.
I was unable to get the success status code to the list of all status codes. But it seems that this is feature of swagger-ui, as discussed at https://github.com/swagger-api/swagger-ui/issues/1505.
Waiting for #259 to be merged.
Description
Publishing an event using this endpoint returns the following:
The API-documentation says:
The documentation should reflect reality or vice versa.
Motivation
Can cause confusion when developing tools using this endpoint.
Exemplification
Benefits
Possible Drawbacks