@scalar/fastify-api-reference 1.25.58 → 1.25.60
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/CHANGELOG.md +12 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +5 -3
- package/dist/js/standalone.js +6579 -6580
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -19139,7 +19139,7 @@ function upgradeFromThreeToThreeOne(originalSpecification) {
|
|
|
19139
19139
|
var _a;
|
|
19140
19140
|
let specification = originalSpecification;
|
|
19141
19141
|
if ((_a = specification.openapi) == null ? void 0 : _a.startsWith("3.0")) {
|
|
19142
|
-
specification.openapi = "3.1.
|
|
19142
|
+
specification.openapi = "3.1.1";
|
|
19143
19143
|
} else {
|
|
19144
19144
|
return specification;
|
|
19145
19145
|
}
|
|
@@ -19171,7 +19171,9 @@ function upgradeFromThreeToThreeOne(originalSpecification) {
|
|
|
19171
19171
|
schema2.examples = [schema2.example];
|
|
19172
19172
|
} else {
|
|
19173
19173
|
schema2.examples = {
|
|
19174
|
-
default:
|
|
19174
|
+
default: {
|
|
19175
|
+
value: schema2.example
|
|
19176
|
+
}
|
|
19175
19177
|
};
|
|
19176
19178
|
}
|
|
19177
19179
|
delete schema2.example;
|
|
@@ -19228,7 +19230,7 @@ function isSchemaPath(path2) {
|
|
|
19228
19230
|
function upgradeFromTwoToThree(specification) {
|
|
19229
19231
|
var _a, _b, _c;
|
|
19230
19232
|
if ((_a = specification.swagger) == null ? void 0 : _a.startsWith("2.0")) {
|
|
19231
|
-
specification.openapi = "3.0.
|
|
19233
|
+
specification.openapi = "3.0.4";
|
|
19232
19234
|
delete specification.swagger;
|
|
19233
19235
|
} else {
|
|
19234
19236
|
return specification;
|