Skip to content

Fix non unique Prefer header in Component Object #29

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

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

laurenceisla
Copy link
Member

Closes #26

Changes done to fix repeating the Prefer header:

  • Define a Schema Object for each Preference
  • Define a Parameter Object for each HTTP method that references only the relevant preferences

@laurenceisla laurenceisla merged commit 9d8dfec into PostgREST:main Jan 19, 2024
@laurenceisla laurenceisla deleted the fix-common-headers branch January 19, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Repeated "Prefer" header overrides the previous one in SwaggerUI
2 participants