Closed
Description
I have multiple openapi specs in a single project and am using the GroupedOpenApi
capability of springdoc.
I am trying to generate the openapi spec in yaml for a specific group through the gradle plugin by specifying the appropriate apiDocsUrl
property.
I'm getting an error
A JSONObject text must begin with '{' at 1 [character 2 line 1]
I dug into the code and it is only looking at the end of the apiDocsUrl
property to determine if it is yaml or not. When using the Group capability, the yaml url format is like the following
http://server:port/context-path/v3/api-docs.yaml/{groupName}
The code should probably change to do a contains check instead of an endsWith.
Metadata
Metadata
Assignees
Labels
No labels