Skip to content

[scala-sttp] Fix Compilation failure - not found type ByteArray#10166

Merged
wing328 merged 1 commit intoOpenAPITools:masterfrom
bgong-mdsol:fix/scala-sttp-not-found-ByteArray
Sep 16, 2021
Merged

[scala-sttp] Fix Compilation failure - not found type ByteArray#10166
wing328 merged 1 commit intoOpenAPITools:masterfrom
bgong-mdsol:fix/scala-sttp-not-found-ByteArray

Conversation

@bgong-mdsol
Copy link
Contributor

This PR fixes the compilation error for a property which is defined as format = byte and type = string.

  • Fixed by typeMapping ByteArray -> Array([Byte])
  • Test case added.
  • Fixed issue #10150

PR checklist

  • Read the contribution guidelines.
  • Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
  • Run the following to build the project and update samples:
    ./mvnw clean package 
    ./bin/generate-samples.sh
    ./bin/utils/export_docs_generators.sh
    
    Commit all changed files.
    This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
    These must match the expectations made by your contribution.
    You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/java*.
    For Windows users, please run the script in Git BASH.
  • File the PR against the correct branch: master, 5.3.x
  • If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.

@chameleon82 @clasnake @jimschubert @shijinkui @ramzimaalej @Bouillie @wing328 @jfeltesse-mdsol @jcarres-mdsol

@wing328 wing328 added this to the 5.3.0 milestone Sep 10, 2021
@wing328 wing328 merged commit aac9aa6 into OpenAPITools:master Sep 16, 2021
@bgong-mdsol bgong-mdsol deleted the fix/scala-sttp-not-found-ByteArray branch September 17, 2021 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] [scala-sttp] Not Found Type ByteArray

4 participants