galaxyproject / galaxyproject/training-material

Swagger not supplying `.json` in some API URLs that work otherwise.

Open
#4,931 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
367
Forks
1.1k
Avg merge
16h 27m
Merged PRs (30d)
49

Description

When I try the example: https://training.galaxyproject.org/api/#/tools/get_psl__toolId__json
with `toolshed.g2.bx.psu.edu/repos/iuc/abricate/maaslin2` I get an empy json.

Contributor guide

Open the contributing guide

Research direction

Reproduce the example at https://training.galaxyproject.org/api/#/tools/get_psl__toolId__json with the Abricate toolshed URL and inspect the generated request and response. Compare it with the URL form that returns data; done means the Swagger API URL supplies the required `.json` suffix and returns the expected JSON instead of an empty response.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.