adoptium / adoptium/api.adoptium.net

adoptium api swagger page anf URLs generated for AIX

Open
#321 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
44
Forks
36
Avg merge
5h 27m
Merged PRs (30d)
42

Description

**Describe the bug**
The feedback from the site is confusing at best.
- The generated URL's that report "TypeError: NetworkError when attempting to fetch resource (no 404 code)" work in applications
- The generated URL's that report a 404 code: Error: Not Found also give a short header block.
- So, it seems like everything you try using _swagger_ is an error, and is quite frustrating!
**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://api.adoptium.net/q/swagger-ui/#/Binary/getBinary
2. Click on 'Try it Out'
3. Fill in your choices:
![image](https://user-images.githubusercontent.com/10852597/155182549-dfc5bb04-996e-487e-b75a-3b846e2645d8.png)
4. Click 'Execute'
5. See error
![image](https://user-images.githubusercontent.com/10852597/155182422-7fa3e169-4053-4568-be59-87d4d084f19a.png)
**Expected behavior**
A clear and concise description of what you expected to happen.
- Something similar to the linux-x86 output
![image](https://user-images.githubusercontent.com/10852597/155183026-8a1cfaea-5ef8-4871-b9d1-475879db0197.png)

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Device (please complete the following information):**
- OS: [e.g. Windows]
- Browser [e.g. firefox]
- Version [e.g. 97.0.1 64-bit]

**Additional context**
Basically, if I see this:
![image](https://user-images.githubusercontent.com/10852597/155183305-21a6da81-2d39-4bf9-9e66-d6bf8a6edac2.png)
- it is an unsupported `feature_version`, e.g., 10
- implying, unsupported is better supported by `swagger` than **supported** `feature_versions`

Contributor guide

Open the contributing guide

Research direction

Start at https://api.adoptium.net/q/swagger-ui/#/Binary/getBinary and reproduce the AIX request using Swagger's “Try it Out” flow. Compare its generated URL and response with the linux-x86 example, focusing on supported feature_version values. Done means supported AIX requests no longer produce confusing network or 404 errors and return the expected output.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, openapi
Domain
api, backend, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.