mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
BIT-588 Relax documentation requirements deep within the network layer (#58)
This commit is contained in:
parent
35483408b2
commit
016f597d8c
4 changed files with 3 additions and 13 deletions
|
@ -10,9 +10,6 @@ import retrofit2.http.POST
|
|||
*/
|
||||
interface AccountsApi {
|
||||
|
||||
/**
|
||||
* Make pre login request to get KDF params.
|
||||
*/
|
||||
@POST("/accounts/prelogin")
|
||||
suspend fun preLogin(@Body body: PreLoginRequestJson): Result<PreLoginResponseJson>
|
||||
}
|
||||
|
|
|
@ -14,9 +14,6 @@ import java.util.UUID
|
|||
*/
|
||||
interface IdentityApi {
|
||||
|
||||
/**
|
||||
* Make request to get an access token.
|
||||
*/
|
||||
@POST
|
||||
@Suppress("LongParameterList")
|
||||
@FormUrlEncoded
|
||||
|
|
|
@ -7,11 +7,7 @@ import retrofit2.http.GET
|
|||
* This interface defines the API service for fetching configuration data.
|
||||
*/
|
||||
interface ConfigApi {
|
||||
/**
|
||||
* Retrieves the configuration data from the server.
|
||||
*
|
||||
* @return A [ConfigResponseJson] containing the configuration response model.
|
||||
*/
|
||||
|
||||
@GET("config")
|
||||
suspend fun getConfig(): Result<ConfigResponseJson>
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ output-reports:
|
|||
|
||||
comments:
|
||||
active: true
|
||||
excludes: [ '**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**' ]
|
||||
excludes: [ '**/test/**', '**/androidTest/**', '**/commonTest/**', '**/jvmTest/**', '**/jsTest/**', '**/iosTest/**', '**ServiceImpl.kt' ]
|
||||
AbsentOrWrongFileLicense:
|
||||
active: false
|
||||
licenseTemplateFile: 'license.template'
|
||||
|
@ -46,7 +46,7 @@ comments:
|
|||
searchInInnerInterface: true
|
||||
UndocumentedPublicFunction:
|
||||
active: true
|
||||
ignoreAnnotated: [ 'Module' ]
|
||||
ignoreAnnotated: [ 'Module', 'POST', 'PUT', 'DELETE', 'GET', 'PATCH' ]
|
||||
UndocumentedPublicProperty:
|
||||
active: false
|
||||
|
||||
|
|
Loading…
Reference in a new issue