Skip to content

Commit

Permalink
Document missing version option for Generator::scan()
Browse files Browse the repository at this point in the history
  • Loading branch information
winternet-studio committed May 3, 2024
1 parent 256d42c commit 06a0a5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference/generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ echo $openapi->toYaml();
* processors: null|array Defaults to `Analysis::processors()`.
* logger: null|\Psr\Log\LoggerInterface If not set logging will use \OpenApi\Logger as before.
* validate: bool Defaults to `true`.
* version: string Defaults to `\OpenApi\Annotations\OpenApi::VERSION_3_0_0`. Alternatives are: `\OpenApi\Annotations\OpenApi::VERSION_3_1_0`.
*/
public static function scan(iterable $sources, array $options = []): OpenApi { /* ... */ }
```
Expand Down

0 comments on commit 06a0a5b

Please sign in to comment.