Skip to content
New issue

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

Improve accept header API schema #18668

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

davelopez
Copy link
Contributor

Part of #18532

It is now more explicit about what possible content types can be requested for some endpoints and the generated client schema will know those values.

How to test the changes?

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

And make them more explicit.

The wildcard */* will default to application/json.
To handle possible multiple comma-separated values in Accept header
@davelopez davelopez added kind/enhancement kind/refactoring cleanup or refactoring of existing code, no functional changes area/API labels Aug 9, 2024
@github-actions github-actions bot added this to the 24.2 milestone Aug 9, 2024
@mvdbeek mvdbeek merged commit 6d291a9 into galaxyproject:dev Aug 9, 2024
53 of 56 checks passed
@mvdbeek
Copy link
Member

mvdbeek commented Aug 9, 2024

Nice, thank you!

@davelopez davelopez deleted the improve_accept_header_schema branch August 9, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/API kind/enhancement kind/refactoring cleanup or refactoring of existing code, no functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants