Skip to content

Commit

Permalink
fix: update gitignore with the files
Browse files Browse the repository at this point in the history
Signed-off-by: mineme0110 <shailesh.patil@iohk.io>
  • Loading branch information
mineme0110 committed Apr 29, 2024
1 parent c2be136 commit 937e5bf
Show file tree
Hide file tree
Showing 6 changed files with 148 additions and 8 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ target/
**.env.*
workspace.json
docs/architecture/structurizr/.structurizr/
cloud-agent/client/typescript
cloud-agent/client/typescript
cloud-agent/client/kotlin/src/main/kotlin/
!cloud-agent/client/kotlin/src/main/kotlin/org/hyperledger/identus/client/models/CredentialSubject.kt
!cloud-agent/client/kotlin/src/main/kotlin/org/hyperledger/identus/client/models/Service.kt
!cloud-agent/client/kotlin/src/main/kotlin/org/hyperledger/identus/client/models/UpdateManagedDIDServiceAction.kt
2 changes: 1 addition & 1 deletion cloud-agent/client/generator/generate-clients.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ yarn openapi-generator-cli generate \
-i ../../service/api/http/cloud-agent-openapi-spec.yaml \
-o ../kotlin \
--ignore-file-override ../kotlin/.openapi-generator-ignore \
--additional-properties=packageName=org.hyperledger.identus.prism,serializationLibrary=gson,enumPropertyNaming=UPPERCASE
--additional-properties=packageName=org.hyperledger.identus.client,serializationLibrary=gson,enumPropertyNaming=UPPERCASE

# generate typescript models
yarn openapi-generator-cli generate \
Expand Down
12 changes: 6 additions & 6 deletions cloud-agent/client/kotlin/.openapi-generator-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ build.gradle
docs

# igore broken files
src/main/kotlin/io/iohk/atala/prism/models/UpdateManagedDIDServiceAction.kt
src/main/kotlin/io/iohk/atala/prism/models/UpdateManagedDIDServiceActionType.kt
src/main/kotlin/org/hyperledger/identus/client/models/UpdateManagedDIDServiceAction.kt
src/main/kotlin/org/hyperledger/identus/client/models/UpdateManagedDIDServiceActionType.kt

src/main/kotlin/io/iohk/atala/prism/models/Service.kt
src/main/kotlin/io/iohk/atala/prism/models/ServiceType.kt
src/main/kotlin/org/hyperledger/identus/client/models/Service.kt
src/main/kotlin/org/hyperledger/identus/client/models/ServiceType.kt

src/main/kotlin/io/iohk/atala/prism/models/StatusPurpose.kt
src/main/kotlin/io/iohk/atala/prism/models/CredentialSubject.kt
src/main/kotlin/org/hyperledger/identus/client/models/StatusPurpose.kt
src/main/kotlin/org/hyperledger/identus/client/models/CredentialSubject.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/

@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)

package org.hyperledger.identus.client.models

import com.google.gson.annotations.SerializedName

/**
* Object containing claims specific to status list credential
*
* @param id Url to resolve this particular status list credential
* @param type Always equals to constnat value - StatusList2021
* @param statusPurpose
* @param encodedList base64 url encoded bitstring of credential statuses
*/


data class CredentialSubject (

/* Url to resolve this particular status list credential */
@SerializedName("id")
val id: kotlin.String,

/* Always equals to constnat value - StatusList2021 */
@SerializedName("type")
val type: kotlin.String,

@SerializedName("statusPurpose")
val statusPurpose: String,

/* base64 url encoded bitstring of credential statuses */
@SerializedName("encodedList")
val encodedList: kotlin.String

)

Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/

@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)

package org.hyperledger.identus.client.models

import org.hyperledger.identus.client.models.Json

import com.google.gson.annotations.SerializedName

/**
* A service expressed in the DID document. https://www.w3.org/TR/did-core/#services
*
* @param id The id of the service. Requires a URI fragment when use in create / update DID. Returns the full ID (with DID prefix) when resolving DID
* @param type
* @param serviceEndpoint
*/


data class Service (

/* The id of the service. Requires a URI fragment when use in create / update DID. Returns the full ID (with DID prefix) when resolving DID */
@SerializedName("id")
val id: kotlin.String,

@SerializedName("type")
val type: kotlin.collections.List<kotlin.String>? = null,

@SerializedName("serviceEndpoint")
val serviceEndpoint: Json

)

Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/

@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)

package org.hyperledger.identus.client.models

import org.hyperledger.identus.client.models.Json

import com.google.gson.annotations.SerializedName

/**
* A patch to existing Service. 'type' and 'serviceEndpoint' cannot both be empty.
*
* @param id The id of the service to update
* @param type
* @param serviceEndpoint
*/


data class UpdateManagedDIDServiceAction (

/* The id of the service to update */
@SerializedName("id")
val id: kotlin.String,

@SerializedName("type")
val type: kotlin.collections.List<kotlin.String>? = null,

@SerializedName("serviceEndpoint")
val serviceEndpoint: Json? = null

)

0 comments on commit 937e5bf

Please sign in to comment.