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

Rename handlers to paths #245

Merged
merged 1 commit into from
Aug 8, 2022
Merged

Rename handlers to paths #245

merged 1 commit into from
Aug 8, 2022

Conversation

juhaku
Copy link
Owner

@juhaku juhaku commented Aug 8, 2022

Rename handlers attribute of OpenApi derive macro to paths to make it
consistent with OpenAPI spec.

#[derive(OpenApi)]
#[openapi(
    paths(...)
)]
struct ApiDoc;

Rename `handlers` attribute of `OpenApi` derive macro to `paths` to make it
consistent with OpenAPI spec.

```rust
    paths(...)
)]
struct ApiDoc;
```
@juhaku juhaku force-pushed the feature-rename-handlers branch from 177be7f to f8a691c Compare August 8, 2022 22:25
@juhaku juhaku merged commit 6e3cb4b into master Aug 8, 2022
@juhaku juhaku deleted the feature-rename-handlers branch August 8, 2022 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released
Development

Successfully merging this pull request may close these issues.

1 participant