Closed
Description
I'd like to generate swagger files in yaml format, from actuator + openapi endpoints (http://localhost:8081/actuator/openapi/springdocDefault/yaml).
But run it with the following config:
openApi {
apiDocsUrl = 'http://localhost:8081/actuator/openapi/springdocDefault/yaml'
outputFileName = 'openapi.yaml'
outputDir = file "$buildDir/docs"
}
I get the error:
* What went wrong:
Execution failed for task ':generateOpenApiDocs'.
> A JSONObject text must begin with '{' at 1 [character 2 line 1]
I see it had been added support to openapi default endpoint http://localhost:8080/api-docs.yaml
(#13).
Metadata
Metadata
Assignees
Labels
No labels