TypedRest / OpenServiceBroker

.NET libraries for client and server implementations of Open Service Broker API
https://openservicebroker.typedrest.net
MIT License
15 stars 9 forks source link

Retry-After for last_operation endpoints? #121

Closed eugenlangelgln closed 6 months ago

eugenlangelgln commented 7 months ago

Hello, we would like to set the "Retry-After" in reposnse Header of */last_operation , like described in the spec: https://petstore.swagger.io/?url=https://raw.githubusercontent.com/openservicebrokerapi/servicebroker/v2.16/openapi.yaml#/ServiceInstances/serviceInstance.lastOperation.get

How can we do this?

Thanks :-)

bastianeicher commented 7 months ago

I've added a new property LastOperationResource.RetryAfter for this purpose in d3d3e698fb592c976c9084bea9c0befce195d398.

This is available in OpenServiceBroker.Server 0.5.0.

eugenlangelgln commented 6 months ago

Many thanks!