Skip to content

Commit

Permalink
docs(api-reference): input parser options update default value
Browse files Browse the repository at this point in the history
  • Loading branch information
anymaniax committed Sep 14, 2021
1 parent d9920f5 commit aca69c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/pages/reference/configuration/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ module.exports = {

Type: `Object`.

Default Value: `{ resolve: { github: githubResolver }, }`.
Default Value: `{ resolve: { github: githubResolver }, validate: true }`.

Orval use a parser to handle multiple files specification. You can use the parserOptions property to provide custom config for that parser. Check [here](https://apitools.dev/swagger-parser/docs/options.html) available options. Be default Orval add a github parser but you can add own if you have a private specification or other requirement.

Your specification is automatically validated by default.

```js
module.exports = {
petstore: {
Expand Down

0 comments on commit aca69c4

Please sign in to comment.