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

Implement include_str! for tags #893

Merged
merged 1 commit into from
May 1, 2024

Conversation

junlarsen
Copy link
Contributor

Fixes #877

Moves the Str enum into parse_utils and wraps with parse_next_literal_str_or_include_str().

Also includes a test-case to test the new functionality

@@ -27,7 +27,7 @@ utoipa = { path = "../utoipa", features = ["debug", "uuid"], default-features =
serde_json = "1"
serde = "1"
actix-web = { version = "4", features = ["macros"], default-features = false }
axum = { version = "0.7", default-features = false }
axum = { version = "0.7", default-features = false, features = ["json", "query"] }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doctests failed to compile without these

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, it might be that there is some upstream changes that hasn't been updated here previously.

Copy link
Owner

@juhaku juhaku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid work 👍

@juhaku juhaku merged commit 365469f into juhaku:master May 1, 2024
6 checks passed
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.

Use include_str! in the openapi's tag definition
2 participants