quicktype-core 23.0.173 → 23.0.174
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.
|
@@ -112,7 +112,7 @@ class GoRenderer extends ConvenienceRenderer_1.ConvenienceRenderer {
|
|
|
112
112
|
this._options.justTypes === false &&
|
|
113
113
|
this._options.justTypesAndPackage === false &&
|
|
114
114
|
this.leadingComments === undefined) {
|
|
115
|
-
this.emitLineOnce("//
|
|
115
|
+
this.emitLineOnce("// Code generated from JSON Schema using quicktype. DO NOT EDIT.");
|
|
116
116
|
this.emitLineOnce("// To parse and unparse this JSON data, add this code to your project and do:");
|
|
117
117
|
this.emitLineOnce("//");
|
|
118
118
|
const ref = (0, Source_1.modifySource)(Strings_1.camelCase, name);
|
|
@@ -255,7 +255,7 @@ class GoRenderer extends ConvenienceRenderer_1.ConvenienceRenderer {
|
|
|
255
255
|
this.endFile();
|
|
256
256
|
}
|
|
257
257
|
emitSingleFileHeaderComments() {
|
|
258
|
-
this.emitLineOnce("//
|
|
258
|
+
this.emitLineOnce("// Code generated from JSON Schema using quicktype. DO NOT EDIT.");
|
|
259
259
|
this.emitLineOnce("// To parse and unparse this JSON data, add this code to your project and do:");
|
|
260
260
|
this.forEachTopLevel("none", (_, name) => {
|
|
261
261
|
this.emitLine("//");
|