Skip to content

Commit

Permalink
api-docs.yaml to openapi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gnespolino committed Jan 22, 2024
1 parent efcd226 commit 2283f3a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:

- uses: stoplightio/[email protected]
with:
file_glob: 'src/main/resources/public/api-docs.yaml'
file_glob: 'src/main/resources/public/openapi.yaml'
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jib {

openApiGenerate {
generatorName = 'spring'
inputSpec = "$rootDir/src/main/resources/public/api-docs.yaml".toString()
inputSpec = "$rootDir/src/main/resources/public/openapi.yaml".toString()
outputDir = "$buildDir/generated".toString()
apiPackage = 'it.gov.innovazione.ndc.gen.api'
invokerPackage = 'it.gov.innovazione.ndc.gen.invoker'
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ harvester.auth.user=${HARVESTER_USER:harv-user}
harvester.auth.password=${HARVESTER_PASSWORD:harv-password}

springdoc.api-docs.enabled=false
springdoc.swagger-ui.url=/api-docs.yaml
springdoc.swagger-ui.url=/openapi.yaml
#Disable restrictions on multipart requests to validate semantic assets files
spring.servlet.multipart.max-file-size=-1
spring.servlet.multipart.max-request-size=-1
Expand Down
File renamed without changes.

0 comments on commit 2283f3a

Please sign in to comment.