api.adoptium.net icon indicating copy to clipboard operation
api.adoptium.net copied to clipboard

Swagger UI fails to execute binary API queries

Open HannesWell opened this issue 10 months ago • 1 comments

Describe the bug

When trying out the binary API end-point via the Swagger UI at https://api.adoptium.net/q/swagger-ui/#/Binary/getBinary

the execution always fails with the message For 'feature_version': Required field is not provided. even if the feature version is provided.

To Reproduce

https://api.adoptium.net/q/swagger-ui/#/Binary/getBinary

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

Image

Device (please complete the following information):

  • OS: [e.g. Windows]
  • Browser [e.g. Firefox]

HannesWell avatar Jan 30 '25 21:01 HannesWell

I believe this is related to the fact the type of that is "integernull" and the type in the schema is:

          type:
          - integer
          - "null"

presumably our schema generation is not right at the moment

johnoliver avatar Feb 05 '25 13:02 johnoliver

This is now fixed

gdams avatar May 12 '25 11:05 gdams