Skip to content

Commit

Permalink
Fix OpenAPI/Crate version
Browse files Browse the repository at this point in the history
  • Loading branch information
paultag committed Oct 25, 2024
1 parent 1e85191 commit e91a6ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openapi/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@
},
"description": "",
"title": "machine-api",
"version": "0.1.0"
"version": "0.1.1"
},
"openapi": "3.0.3",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fn test_openapi() -> TestResult {

assert_eq!(spec.openapi, "3.0.3");
assert_eq!(spec.info.title, "machine-api");
assert_eq!(spec.info.version, "0.1.0");
assert_eq!(spec.info.version, env!("CARGO_PKG_VERSION"));

// Spot check a couple of items.
assert!(!spec.paths.paths.is_empty());
Expand Down

0 comments on commit e91a6ae

Please sign in to comment.