We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently headers can be marked as ~required parameters in Sysl end points, but their contents can not be.
~required
contentType <: string [~required, name="Content-Type"]
svc_client.sysl will check that the header is present in the request passed to it.
svc_client.sysl
contentType <: string [~required, name="Content-Type", value="application/json"]
svc_client.sysl will check that the header is present in the request passed to it then:
The text was updated successfully, but these errors were encountered:
Duplicate of anz-bank/sysl#545
Sorry, something went wrong.
Not sure my proposal is great given that this will be on every endpoint for a given app. Should probably be an app-level attribute.
No branches or pull requests
Currently headers can be marked as
~required
parameters in Sysl end points, but their contents can not be.Current syntax and behaviour:
svc_client.sysl
will check that the header is present in the request passed to it.Proposed syntax and behaviour:
svc_client.sysl
will check that the header is present in the request passed to it then:The text was updated successfully, but these errors were encountered: