Skip to content

Commit

Permalink
Document missing version option for Generator::scan() (#1589)
Browse files Browse the repository at this point in the history
  • Loading branch information
winternet-studio authored May 3, 2024
1 parent ab19c21 commit 15c5c6a
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 15c5c6a

Please sign in to comment.