File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 66## Usage
77
88First head over to the [ ePages-de/restdocs-openapi] ( https://github.com/ePages-de/restdocs-openapi ) project
9- and following the instructions for setting up the Spring REST Docs extension. That extension will produce
9+ and follow the instructions for setting up the Spring REST Docs extension. That extension will produce
1010` resource.json ` files for each of your documented resources. You'll also notice that project provides
1111a gradle plugin that can be used to read all the ` resource.json ` files and turn them into an OpenAPI spec
1212file. That is exactly what this project does as well, only in the form of a maven plugin instead.
@@ -74,7 +74,7 @@ There are several other aspects you can optionally configure. Here is the full
7474 <snippetDirectory >${project.build.directory}/generated-snippets</snippetDirectory >
7575 <outputDirectory >${project.build.directory}/restdocs-spec</outputDirectory >
7676 <skip >false</skip >
77- <format >JSON </format >
77+ <format >YAML </format >
7878 <filename >openapi-2.0</filename >
7979 <oauth2 />
8080 </configuration >
You can’t perform that action at this time.
0 commit comments