Skip to content

Commit

Permalink
Release v1.13.0 (#2159)
Browse files Browse the repository at this point in the history
## Description, Motivation and Context

Create release v1.13.0, following the instructions
https://github.com/airtasker/spot/wiki/Releasing-Spot
  • Loading branch information
flavray authored Nov 20, 2023
1 parent 931adc9 commit 3bcf815
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
35 changes: 23 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ EXAMPLE
$ spot checksum api.ts
```

_See code: [build/cli/src/commands/checksum.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/checksum.js)_
_See code: [build/cli/src/commands/checksum.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/checksum.js)_

## `spot docs SPOT_CONTRACT`

Expand All @@ -190,7 +190,7 @@ EXAMPLE
$ spot docs api.ts
```

_See code: [build/cli/src/commands/docs.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/docs.js)_
_See code: [build/cli/src/commands/docs.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/docs.js)_

## `spot generate`

Expand All @@ -211,7 +211,7 @@ EXAMPLE
$ spot generate --contract api.ts --language yaml --generator openapi3 --out output/
```

_See code: [build/cli/src/commands/generate.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/generate.js)_
_See code: [build/cli/src/commands/generate.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/generate.js)_

## `spot help [COMMAND]`

Expand All @@ -228,7 +228,7 @@ OPTIONS
--all see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.3/src/commands/help.ts)_
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.3.1/src/commands/help.ts)_

## `spot init`

Expand All @@ -249,7 +249,7 @@ EXAMPLE
- package.json
```

_See code: [build/cli/src/commands/init.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/init.js)_
_See code: [build/cli/src/commands/init.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/init.js)_

## `spot lint SPOT_CONTRACT`

Expand All @@ -263,13 +263,24 @@ ARGUMENTS
SPOT_CONTRACT path to Spot contract
OPTIONS
-h, --help show CLI help
EXAMPLE
-h, --help show CLI help
--has-discriminator=(error|warn|off) Setting for has-discriminator
--has-request-payload=(error|warn|off) Setting for has-request-payload
--has-response=(error|warn|off) Setting for has-response
--has-response-payload=(error|warn|off) Setting for has-response-payload
--no-inline-objects-within-unions=(error|warn|off) Setting for no-inline-objects-within-unions
--no-nullable-arrays=(error|warn|off) Setting for no-nullable-arrays
--no-nullable-fields-within-request-bodies=(error|warn|off) Setting for no-nullable-fields-within-request-bodies
--no-omittable-fields-within-response-bodies=(error|warn|off) Setting for no-omittable-fields-within-response-bodies
--no-trailing-forward-slash=(error|warn|off) Setting for no-trailing-forward-slash
EXAMPLES
$ spot lint api.ts
$ spot lint --has-descriminator=error
$ spot lint --no-nullable-arrays=off
```

_See code: [build/cli/src/commands/lint.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/lint.js)_
_See code: [build/cli/src/commands/lint.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/lint.js)_

## `spot mock SPOT_CONTRACT`

Expand Down Expand Up @@ -300,7 +311,7 @@ EXAMPLE
$ spot mock api.ts
```

_See code: [build/cli/src/commands/mock.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/mock.js)_
_See code: [build/cli/src/commands/mock.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/mock.js)_

## `spot validate SPOT_CONTRACT`

Expand All @@ -320,7 +331,7 @@ EXAMPLE
$ spot validate api.ts
```

_See code: [build/cli/src/commands/validate.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/validate.js)_
_See code: [build/cli/src/commands/validate.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/validate.js)_

## `spot validation-server SPOT_CONTRACT`

Expand All @@ -341,5 +352,5 @@ EXAMPLE
$ spot validation-server api.ts
```

_See code: [build/cli/src/commands/validation-server.js](https://github.com/airtasker/spot/blob/v1.12.0/build/cli/src/commands/validation-server.js)_
_See code: [build/cli/src/commands/validation-server.js](https://github.com/airtasker/spot/blob/v1.13.0/build/cli/src/commands/validation-server.js)_
<!-- commandsstop -->
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airtasker/spot",
"version": "1.12.0",
"version": "1.13.0",
"author": "Francois Wouts, Leslie Fung",
"bin": {
"spot": "./bin/run"
Expand Down

0 comments on commit 3bcf815

Please sign in to comment.