-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I need to use a different port than 8080. Please provide a working option for choosing a different port.
I tried editing src/main/resources/application.properties by adding server.port=8888
$ ./gradlew clean generateOpenApiDocs
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.2)
2024-12-09T23:42:04.936Z INFO 1792187 --- [ main] o.openapis.course.CodeFirstApplication : Starting CodeFirstApplication using Java 21.0.5 with PID 1792187 (/home/kingram/TUTORIALS/LinuxFoundation/OpenAPIFundamentals/LFELL1011-resources/chapter-4-examples/code-first-using-springdoc-openapi/build/classes/java/main started by kingram in /home/kingram/TUTORIALS/LinuxFoundation/OpenAPIFundamentals/LFELL1011-resources/chapter-4-examples/code-first-using-springdoc-openapi)
2024-12-09T23:42:04.938Z INFO 1792187 --- [ main] o.openapis.course.CodeFirstApplication : No active profile set, falling back to 1 default profile: "default"
> Task :generateOpenApiDocs FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generateOpenApiDocs'.
> Failed to parse the API docs response string. Please ensure that the response is in the correct format. response=<!DOCTYPE html>
Metadata
Metadata
Assignees
Labels
No labels