Swagger-UI zeigt immer Beispiele Petstore anstelle meiner APIJava

Java-Forum
Anonymous
 Swagger-UI zeigt immer Beispiele Petstore anstelle meiner API

Post by Anonymous »

Ich bin ein bisschen verloren, weil es normalerweise aus der Schachtel funktioniert. Ich mache eine kleine Java Spring-Boot-REST-API und um eine schöne API-Desc- und Testseite zu bekommen, verwende ich Prahlerei. Außer diesmal zeigt es nicht die Sachen meiner App, sondern die Standard -PetStore -Seite.
11



org.springframework.boot
spring-boot-starter-web


org.springframework.boot
spring-boot-starter-actuator


org.springframework.boot
spring-boot-devtools
runtime
true


org.springframework.boot
spring-boot-configuration-processor
true


org.springframework.boot
spring-boot-starter-test
test


org.apache.logging.log4j
log4j-api
2.14.0


org.apache.logging.log4j
log4j-core
2.14.0


org.apache.logging.log4j
log4j-slf4j-impl
2.14.0


org.junit.jupiter
junit-jupiter-api
5.7.1
test


org.junit.jupiter
junit-jupiter-engine
5.7.1
test


org.springdoc
springdoc-openapi-ui
1.5.6



io.springfox
springfox-swagger-ui
3.0.0



org.springframework.boot
spring-boot-starter-data-jpa


org.postgresql
postgresql
42.2.19


org.projectlombok
lombok


< /code>
Ich habe es auch versucht mit: < /p>

io.springfox
springfox-boot-starter
${springfox.version}

< /code>
, aber es hat keinen Unterschied gemacht. Ich bin mir nicht sicher, wohin ich von hier aus gehen soll.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post