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

Chore refactor OpenApi derive macro #1011

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

juhaku
Copy link
Owner

@juhaku juhaku commented Aug 30, 2024

Remove need for #[openapi()] attribute for OpenApi derive macro. Previously it was mandatory to always provide.

From now onwards this will work as well.

 #[derive(OpenApi)]
 struct Api;

Remove need for `#[openapi()]` attribute for `OpenApi` derive macro.
Previously it was mandatory to always provide.

From now onwards this will work as well.
```rust
 #[derive(OpenApi)]
 struct Api;
```
@juhaku juhaku merged commit 04c490d into master Aug 30, 2024
18 checks passed
@juhaku juhaku deleted the chore-refactor-openapi-attribute branch August 30, 2024 20:46
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant