1
0

login-credentials without RBAC (#173)

Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/173
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
This commit is contained in:
Michael Hoennig
2025-05-19 12:00:35 +02:00
parent 965866dadc
commit 58096c1510
55 changed files with 2232 additions and 79 deletions

View File

@@ -209,12 +209,22 @@ openapiProcessor {
process("springHsHosting") {
processorName("spring")
processor("io.openapiprocessor:openapi-processor-spring:2022.5")
apiPath(project.file("src/main/resources/api-definition/hs-hosting//hs-hosting.yaml").path)
apiPath(project.file("src/main/resources/api-definition/hs-hosting/hs-hosting.yaml").path)
prop("mapping", project.file("src/main/resources/api-definition/hs-hosting/api-mappings.yaml").path)
prop("showWarnings", true)
prop("openApiNullable", true)
targetDir(layout.buildDirectory.dir("generated/sources/openapi-javax").get().asFile.path)
}
process("springCredentials") {
processorName("spring")
processor("io.openapiprocessor:openapi-processor-spring:2022.5")
apiPath(project.file("src/main/resources/api-definition/credentials/api-paths.yaml").path)
prop("mapping", project.file("src/main/resources/api-definition/credentials/api-mappings.yaml").path)
prop("showWarnings", true)
prop("openApiNullable", true)
targetDir(layout.buildDirectory.dir("generated/sources/openapi-javax").get().asFile.path)
}
}
// Add generated sources to the main source set
@@ -234,7 +244,8 @@ val processSpring = tasks.register("processSpring") {
"processSpringTest",
"processSpringHsOffice",
"processSpringHsBooking",
"processSpringHsHosting"
"processSpringHsHosting",
"processSpringCredentials"
)
}