We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 959b938 commit ebc230aCopy full SHA for ebc230a
compiler-rs/clients_schema_to_openapi/src/lib.rs
@@ -158,6 +158,12 @@ fn info(model: &IndexedModel) -> openapiv3::Info {
158
}
159
160
161
+pub fn product_as_extensions(availabilities: &Option<Availabilities>, flavor: &Option<Flavor>) -> IndexMap<String, serde_json::Value> {
162
+ let mut result = IndexMap::new();
163
+ convert_availabilities(availabilities, flavor, &mut result);
164
+ result
165
+}
166
+
167
pub fn availability_as_extensions(availabilities: &Option<Availabilities>, flavor: &Option<Flavor>) -> IndexMap<String, serde_json::Value> {
168
let mut result = IndexMap::new();
169
convert_availabilities(availabilities, flavor, &mut result);
0 commit comments