Skip to content

Commit

Permalink
BIT-588 Relax documentation requirements deep within the network layer (
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaisting-livefront authored and vvolkgang committed Jun 20, 2024
1 parent 3548340 commit 016f597
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import java.util.UUID
*/
interface IdentityApi {

/**
* Make request to get an access token.
*/
@POST
@Suppress("LongParameterList")
@FormUrlEncoded
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
}
4 changes: 2 additions & 2 deletions detekt-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -46,7 +46,7 @@ comments:
searchInInnerInterface: true
UndocumentedPublicFunction:
active: true
ignoreAnnotated: [ 'Module' ]
ignoreAnnotated: [ 'Module', 'POST', 'PUT', 'DELETE', 'GET', 'PATCH' ]
UndocumentedPublicProperty:
active: false

Expand Down

0 comments on commit 016f597

Please sign in to comment.