@file:Suppress("HardCodedStringLiteral")

package eu.gaudian.translator.model.communication

import retrofit2.http.GET
import retrofit2.http.Query

interface WiktionaryApiService {
    @GET("w/api.php")
    suspend fun getPageHtml(
        @Query("action") action: String = "parse",
        @Query("page") page: String,
        @Query("prop") prop: String = "text",
        @Query("format") format: String = "json",
        @Query("redirects") redirects: Int = 1,
        @Query("formatversion") formatVersion: Int = 2
    ): WiktionaryResponse
}