Skip to content

Commit 279a30c

Browse files
adamaltmanRomanHotsiy
authored andcommitted
docs: Minor naming changes (#37)
1 parent 1cc359d commit 279a30c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exports.validateSpecFileName = fileName => {
2626
}
2727

2828
if (!file.swagger && !file.openapi) {
29-
return chalk.red('File is not valid OpenAPI specification');
29+
return chalk.red('File does not conform to the OpenAPI Specification');
3030
}
3131
return true;
3232
};
@@ -95,7 +95,7 @@ function copyDirSync(srcDir, targetDir) {
9595
try {
9696
fs.writeFileSync(dst, fs.readFileSync(src));
9797
} catch (e) {
98-
console.log("Could't copy file: " + dst);
98+
console.log("Couldn't copy file: " + dst);
9999
}
100100
}
101101
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "create-openapi-repo",
33
"version": "2.0.0-rc.6",
4-
"description": "Generator of OpenAPI(fka Swagger) repository",
4+
"description": "Generator of OpenAPI (fka Swagger) repository",
55
"author": {
66
"name": "Roman Hotsiy",
77
"email": "[email protected]"

0 commit comments

Comments
 (0)