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
HttpMalformedRequestDefinition.getUri()
Optional<String>
The spec says uri of HttpMalformedRequestDefinition is required.
uri
HttpMalformedRequestDefinition
However, HttpMalformedRequestDefinition.getUri() returns Optional<String>:
https://github.com/awslabs/smithy/blob/887ae4f6d118e55937105583a07deb90d8fabe1c/smithy-protocol-test-traits/src/main/java/software/amazon/smithy/protocoltests/traits/HttpMalformedRequestDefinition.java#L83-L85
This is in contrast to HttpRequestTestCase.getUri(), which returns String:
HttpRequestTestCase.getUri()
String
https://github.com/awslabs/smithy/blob/887ae4f6d118e55937105583a07deb90d8fabe1c/smithy-protocol-test-traits/src/main/java/software/amazon/smithy/protocoltests/traits/HttpRequestTestCase.java#L65-L67
The text was updated successfully, but these errors were encountered:
Add non-optional method for malformed request test uri
60291bb
Resolves smithy-lang#1102
Yep that's not great. Unfortunately we can't change the type signature, but I added a pr to introduce a new non-optional getter.
Sorry, something went wrong.
fc1e890
Resolves #1102
Successfully merging a pull request may close this issue.
The spec says
uri
ofHttpMalformedRequestDefinition
is required.However,
HttpMalformedRequestDefinition.getUri()
returnsOptional<String>
:https://github.com/awslabs/smithy/blob/887ae4f6d118e55937105583a07deb90d8fabe1c/smithy-protocol-test-traits/src/main/java/software/amazon/smithy/protocoltests/traits/HttpMalformedRequestDefinition.java#L83-L85
This is in contrast to
HttpRequestTestCase.getUri()
, which returnsString
:https://github.com/awslabs/smithy/blob/887ae4f6d118e55937105583a07deb90d8fabe1c/smithy-protocol-test-traits/src/main/java/software/amazon/smithy/protocoltests/traits/HttpRequestTestCase.java#L65-L67
The text was updated successfully, but these errors were encountered: