diff --git a/openapi.yaml b/openapi.yaml index 7324103..f7628b0 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -9,7 +9,7 @@ info: - getting a specific message by its id The description of the API in OpenAPI format is generated by - the tool [SpringDoc v2](https://springdoc.org/v2/) from annotated Java classes, + the tool [SpringDoc v2](https://springdoc.org/) from annotated Java classes, mainly the controller class [ChatRestController](https://github.com/martin-kuba/muni-chat-service/blob/main/chat-server/src/main/java/cz/muni/chat/server/rest/ChatRestController.java) and the DTO classes in @@ -257,12 +257,12 @@ components: PageChatMessage: type: object properties: - totalPages: - type: integer - format: int32 totalElements: type: integer format: int64 + totalPages: + type: integer + format: int32 pageable: $ref: '#/components/schemas/PageableObject' first: