Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKonrad committed Jan 28, 2025
1 parent f7c4657 commit 29fefa7
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
package org.orkg.testing.spring.restdocs

import java.time.OffsetDateTime
import org.springframework.restdocs.headers.HeaderDocumentation.headerWithName
import org.springframework.restdocs.headers.HeaderDocumentation.responseHeaders
import org.springframework.restdocs.headers.ResponseHeadersSnippet
import org.springframework.restdocs.payload.FieldDescriptor
import org.springframework.restdocs.payload.PayloadDocumentation.fieldWithPath
import org.springframework.restdocs.payload.PayloadDocumentation.subsectionWithPath
import org.springframework.restdocs.snippet.AbstractDescriptor

fun createdResponseHeaders(): ResponseHeadersSnippet =
responseHeaders(
headerWithName("Location").description("Location to the created statement")
)

fun pageableDetailedFieldParameters(): List<FieldDescriptor> = listOf(
fieldWithPath("content").description("The result of the request as a (sorted) array."),
subsectionWithPath("page").description("Paging information."),
Expand Down

0 comments on commit 29fefa7

Please sign in to comment.