Fix macro typo in README (#74)
This commit is contained in:
parent
ea81ed2b75
commit
bacaac3db9
|
@ -20,7 +20,7 @@ In a source file (often `main.rs`, `lib.rs`, or `mod.rs`) simply invoke the
|
||||||
macro:
|
macro:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
generate_api("path/to/openapi_document.json");
|
generate_api!("path/to/openapi_document.json");
|
||||||
```
|
```
|
||||||
|
|
||||||
You'll need to add add the following to `Cargo.toml`:
|
You'll need to add add the following to `Cargo.toml`:
|
||||||
|
|
Loading…
Reference in New Issue