Skip to content

Commit

Permalink
reverted change moon0326#33
Browse files Browse the repository at this point in the history
  • Loading branch information
Darko Palic committed Dec 27, 2023
1 parent 910a8fd commit a59fb4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SchemaGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function generate( $requestedNamespace ): array {
);

$base = array(
'openapi' => '3.0.0',
'openapi' => '3.1.0',
'info' => $this->generateInfo( $hookArgs )->toArray(),
'servers' => array(
new Server( $this->siteInfo['home'] . '/' . rest_get_url_prefix() ),
Expand Down

0 comments on commit a59fb4a

Please sign in to comment.