Skip to content

Commit cd33096

Browse files
committed
v3
1 parent 8dc9814 commit cd33096

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
# v3.0.0

resources/definitions/openapi.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@
1717
use function DI\get;
1818

1919
return [
20+
'router.openapi.initial_document.info' => [
21+
'title' => 'API',
22+
'version' => '1.0.0',
23+
],
24+
2025
'router.openapi.initial_document' => [
2126
'openapi' => OpenApiConfiguration::VERSION,
22-
'info' => [
23-
'title' => 'API',
24-
'version' => '1.0.0',
25-
],
27+
'info' => get('router.openapi.initial_document.info'),
28+
'jsonSchemaDialect' => OpenApiConfiguration::JSON_SCHEMA_DIALECT,
2629
],
2730

2831
'router.openapi.initial_operation' => [

0 commit comments

Comments
 (0)