You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`openApiFile`|openapi file to be merged with resolved specification, see [config](https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Integration-and-Configuration#configuration-properties)|false|
61
+
`openApiFile`|openapi file to be merged with resolved specification, equivalent to [config](https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Integration-and-Configuration#configuration-properties) openAPI|false|
**Note** parameter `openApiFile` corresponds to [config](https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Integration-and-Configuration#configuration-properties) openAPI. It points to a location of a file in YAML or JSON format representing the input spec that will be merged with the resolved spec. Typically used to add Info section, or any other meta data.
73
+
An example of such file:
74
+
75
+
```yaml
76
+
openapi: 3.0.1
77
+
info:
78
+
version: '1.0'
79
+
title: Swagger Pet Sample App Config File
80
+
description: 'This is a sample server Petstore server. You can find out more
81
+
about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net,
82
+
#swagger](http://swagger.io/irc/). For this sample, you can use the api key
0 commit comments