Currently, when providing a path in an endpoint like /carriers/:carrier, all path variables (:carrier) are required. But this isn't the case with all endpoints.
For example: /external_integration_provider_credentials/:name/:version would not be able to be added correctly as :version is optional but the SDK will treat it as required.
What problem does this feature solve?
Currently, when providing a
path
in an endpoint like/carriers/:carrier
, all path variables (:carrier
) are required. But this isn't the case with all endpoints.For example:
/external_integration_provider_credentials/:name/:version
would not be able to be added correctly as:version
is optional but the SDK will treat it as required.What should the solution look like?
A syntax like the following:
Should mean that
:name
is required, but:version
is optional. SDK should not throw errors when:version
is not passed.Relevant log output
No response
Additional context
No response