Skip to content

Commit 31f18bd

Browse files
committed
remove readonly; non_exhaustive will do
1 parent 99298dd commit 31f18bd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ uuid = ["uuid08"]
2626
indexmap = "1.7"
2727
openapi_type_derive = { path = "./derive", version = "0.3.0" }
2828
openapiv3 = "1.0"
29-
readonly = "0.2"
3029
serde_json = "1.0"
3130

3231
# optional dependencies / features

src/visitor/openapi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ impl<T> Boxed for ReferenceOr<T> {
2323
}
2424
}
2525

26-
#[readonly::make]
2726
#[derive(Debug)]
27+
#[non_exhaustive]
2828
pub struct OpenapiSchema {
2929
pub schema: Schema,
3030
pub dependencies: IndexMap<String, OpenapiSchema>

0 commit comments

Comments
 (0)