springdoc-openapi-gradle-plugin
springdoc-openapi-gradle-plugin copied to clipboard
Library for OpenAPI 3 with spring-boot
Fixes https://github.com/springdoc/springdoc-openapi-gradle-plugin/issues/120 By default gradle-execfork-plugin [sets the working dir to the project directory](https://github.com/psxpaul/gradle-execfork-plugin?tab=readme-ov-file#execfork). This causes issues when running `generateOpenApiDocs` during a gradle `build`: ``` Reason: Task ':skeleton-server:forkedSpringBootRun' uses this output...
Steps to reproduce: * Generate a new Gradle Kotlin Spring Boot project (see settings below) from start.spring.io * Update gradle to 8.3 in `gradle/wrapper/gradle-wrapper.properties`: ``` distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip networkTimeout=10000 validateDistributionUrl=true...
Hey ! I would like to know your best practice for following scenario: The swagger endpoint is protected with basic auth. How could I pass username and password for the...
This Pull Request introduces enhancements to the plugin to support using a custom `TrustStore`. This feature is crucial for fetching OpenAPI documentation over HTTPS in environments that utilize self-signed certificates,...
### Issue Summary Our application, configured for HTTPS-only mode, fails to fetch OpenAPI documentation due to SSL handshake errors with self-signed certificates during local development. ### Details The root of...
It would be a nice feature if you could define a property for the Open-APi-Doc deployment task to overwrite SPRING_BOOT_RUN_TASK_NAME . This is useful, for example, if you start the...
This configuration does not work for me: customBootRun { args.set(["--spring.profiles.active=special"]) } But after analysing plugin code I came up with this solution that actually works: customBootRun { environment['SPRING_PROFILES_ACTIVE'] = 'local'...
Added requestHeaders map to be able to specify additional headers. Can be used if apidocs url is protected by basicAuth or setting custom url to generated openapi spec json|yaml ```...
Hey, I want to update the springdoc-openapi-gradle-plugin to Version 1.9.0, but this is not possible because the generateOpenApiDocs does not work. Exception encountered during context initialization - cancelling refresh attempt:...
The application fails to run after updating to version 1.9.0 of the org.springdoc.openapi-gradle-plugin. The error indicates that no Docker Compose file is found in the specified directory. ### Error Log...