When generating rust types for openapi schema with schemafy::schemafy!
warning: derive helper attribute is used before it is introduced
--> generator/src/main.rs:7:1
|
7 | / schemafy::schemafy!(
8 | | "../schema/openapi-schema.json"
9 | | );
| | ^
| | |
| |__the attribute is introduced here
| in this macro invocation
|
::: /Users/anatawa12/.cargo/registry/src/github.com-1ecc6299db9ec823/schemafy-0.5.1/src/lib.rs:157:1
|
157 | pub fn schemafy(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream {
| --------------------------------------------------------------------------- in this expansion of `schemafy::schemafy!`
|
= note: `#[warn(legacy_derive_helpers)]` on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
warning: 1 warning emitted
When generating rust types for openapi schema with
schemafy::schemafy!