serverless-openapi-documenter 0.0.123 → 0.0.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -713,7 +713,6 @@ class DefinitionGenerator {
|
|
|
713
713
|
}
|
|
714
714
|
|
|
715
715
|
if (contentKey) {
|
|
716
|
-
|
|
717
716
|
const obj = {};
|
|
718
717
|
let schema;
|
|
719
718
|
if (mediaTypeDocumentation.content) {
|
|
@@ -734,7 +733,9 @@ class DefinitionGenerator {
|
|
|
734
733
|
}
|
|
735
734
|
|
|
736
735
|
if (mediaTypeDocumentation.examples) {
|
|
737
|
-
obj.
|
|
736
|
+
obj.examples = this.createExamples(
|
|
737
|
+
mediaTypeDocumentation.examples
|
|
738
|
+
);
|
|
738
739
|
}
|
|
739
740
|
|
|
740
741
|
schema = mediaTypeDocumentation.schema;
|