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

Decorator to swap summary and description fields #37

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

lornajane
Copy link
Contributor

Some OpenAPI descriptions seem to have the description and summary fields the wrong way round. This pull request adds a decorator that reverses the order (as long as description isn't empty).

@lornajane lornajane requested a review from adamaltman August 14, 2024 13:26
@lornajane lornajane merged commit a114532 into main Aug 15, 2024
2 checks passed
@lornajane lornajane deleted the switch-summary-and-description branch August 15, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants