diff --git a/documentation/commands/openapi.md b/documentation/commands/openapi.md index f74d2e95..f4f85fac 100644 --- a/documentation/commands/openapi.md +++ b/documentation/commands/openapi.md @@ -136,7 +136,7 @@ EXAMPLES ## `rdme openapi upload [SPEC]` -Upload (or reupload) your API definition to ReadMe. +Upload (or re-upload) your API definition to ReadMe. ``` USAGE @@ -153,7 +153,7 @@ FLAGS --version= [default: stable] ReadMe project version DESCRIPTION - Upload (or reupload) your API definition to ReadMe. + Upload (or re-upload) your API definition to ReadMe. By default, the slug (i.e., the unique identifier for your API definition resource in ReadMe) will be inferred from the spec name and path. As long as you maintain these directory/file names and run `rdme` from the same location diff --git a/src/commands/openapi/upload.ts b/src/commands/openapi/upload.ts index 874f911b..d594902c 100644 --- a/src/commands/openapi/upload.ts +++ b/src/commands/openapi/upload.ts @@ -15,7 +15,7 @@ import prepareOas from '../../lib/prepareOas.js'; import promptTerminal from '../../lib/promptWrapper.js'; export default class OpenAPIUploadCommand extends BaseCommand { - static summary = 'Upload (or reupload) your API definition to ReadMe.'; + static summary = 'Upload (or re-upload) your API definition to ReadMe.'; static description = [ 'By default, the slug (i.e., the unique identifier for your API definition resource in ReadMe) will be inferred from the spec name and path. As long as you maintain these directory/file names and run `rdme` from the same location relative to your file, the inferred slug will be preserved and any updates you make to this file will be synced to the same resource in ReadMe.',