File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ interface AclApi {
6262 @ body payload : CreateProducerAcl ,
6363 ): void | ApiBadRequestResponse ;
6464
65- @ route ("/streamApp " )
65+ @ route ("/streamapp " )
6666 @ doc ("createStreamAppAcl" )
6767 @ post
6868 @ operationId ("createStreamAppAcl" )
Original file line number Diff line number Diff line change @@ -72,7 +72,11 @@ tasks.register('generateBackendApi', GenerateTask) {
7272}
7373
7474openAPIStyleValidator {
75- inputFile = " ${ project.projectDir} /src/main/resources/swagger/kafbat-ui-api.yaml"
75+ if (useTypeSpec) {
76+ inputFile = project(" :contract-typespec" ). layout. buildDirectory. dir(" tsp/api/openapi.yaml" ). get(). asFile. absolutePath
77+ } else {
78+ inputFile = specDir. file(" kafbat-ui-api.yaml" ). asFile. absolutePath
79+ }
7680 validateModelPropertiesDescription = false
7781 validateModelPropertiesExample = false
7882 parameterNamingConvention = " UnderscoreCase"
You can’t perform that action at this time.
0 commit comments