Add Swagger UI support using Springdoc OpenAPI
This commit is contained in:
parent
a2b68f6b9f
commit
7c3c4e228e
@ -23,6 +23,13 @@
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- API Documentation -->
|
||||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
||||
<version>2.8.9</version>
|
||||
</dependency>
|
||||
|
||||
<!-- llama-java (IA offline) -->
|
||||
<dependency>
|
||||
<groupId>de.kherud</groupId>
|
||||
|
@ -9,6 +9,9 @@ spring:
|
||||
database-platform: org.hibernate.community.dialect.SQLiteDialect
|
||||
hibernate:
|
||||
ddl-auto: update
|
||||
springdoc:
|
||||
api-docs.path: /api-docs
|
||||
swagger-ui.path: /swagger-ui.html
|
||||
llama:
|
||||
model:
|
||||
name: openchat-3.5-0106.Q4_K_M
|
||||
@ -16,4 +19,3 @@ llama:
|
||||
enabled: true
|
||||
layers: 35
|
||||
tokens: 1024
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user