File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ To have Swagger generate the OpenAPI specifications as part of the build add in
3030 <resourcePackage >io.openapitools.swagger.example</resourcePackage >
3131 <resourcePackage >io.openapitools.swagger.example.alternate</resourcePackage >
3232 </resourcePackages >
33+ <outputDirectory >${basedir}/target/</outputDirectory >
34+ <outputFilename >swagger</outputFilename >
35+ <outputFormats >JSON,YAML</outputFormats >
36+ <prettyPrint >true</prettyPrint >
3337 </configuration >
3438 <executions >
3539 <execution >
@@ -79,6 +83,10 @@ Most general properties of the Swagger model is configurable using the swaggerCo
7983 <url >https://license</url >
8084 <name >MIT</name >
8185 </license >
86+ <extensions >
87+ <x-custom-field-1 >my-custom-field-1</x-custom-field-1 >
88+ <x-custom-field-2 >my-custom-field-2</x-custom-field-2 >
89+ </extensions >
8290 </info >
8391 <descriptionFile >src/test/resources/descriptions.md</descriptionFile >
8492 </swaggerConfig >
You can’t perform that action at this time.
0 commit comments