Skip to content

Commit 5dd35cb

Browse files
authored
update: 📝 open api setup option
it should be yaml instead of json. /** * Path of the YAML API definition to serve. * Default: `<path>-json`. */ yamlDocumentUrl?: string;
1 parent 4e0ee75 commit 5dd35cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/openapi/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export interface SwaggerCustomOptions {
162162

163163
/**
164164
* Path of the YAML API definition to serve.
165-
* Default: `<path>-json`.
165+
* Default: `<path>-yaml`.
166166
*/
167167
yamlDocumentUrl?: string;
168168

0 commit comments

Comments
 (0)