Skip to content

Commit

Permalink
refactor: address type description in openApi
Browse files Browse the repository at this point in the history
Refs #198
  • Loading branch information
tomasBustamante committed Nov 10, 2020
1 parent ec95ac9 commit 4040531
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cardano-rosetta-server/src/server/openApi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@
"example": 1582833600000
},
"AddressType": {
"description": "AddressType is the type of UTxO address. * Base address - associated to a payment and a staking credential * Enterprise address - holds no delegation rights and will be created when no stake key is sent to the API",
"description": "* Base address - associated to a payment and a staking credential, * Reward address - associated to a staking credential * Enterprise address - holds no delegation rights and will be created when no stake key is sent to the API",
"type": "string"
},
"PublicKey": {
Expand Down
4 changes: 2 additions & 2 deletions cardano-rosetta-server/src/types/rosetta-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ declare namespace Components {
metadata?: {};
}
/**
* AddressType is the type of UTxO address. * Base address - associated to a payment and a staking credential * Enterprise address - holds no delegation rights and will be created when no stake key is sent to the API
* * Base address - associated to a payment and a staking credential, * Reward address - associated to a staking credential * Enterprise address - holds no delegation rights and will be created when no stake key is sent to the API
*/
export type AddressType = string;
/**
Expand Down Expand Up @@ -218,7 +218,7 @@ declare namespace Components {
public_key: /* PublicKey contains a public key byte array for a particular CurveType encoded in hex. Note that there is no PrivateKey struct as this is NEVER the concern of an implementation. */ PublicKey;
metadata?: {
staking_credential?: /* PublicKey contains a public key byte array for a particular CurveType encoded in hex. Note that there is no PrivateKey struct as this is NEVER the concern of an implementation. */ PublicKey;
address_type?: /* AddressType is the type of UTxO address. * Base address - associated to a payment and a staking credential * Enterprise address - holds no delegation rights and will be created when no stake key is sent to the API */ AddressType;
address_type?: /* * Base address - associated to a payment and a staking credential, * Reward address - associated to a staking credential * Enterprise address - holds no delegation rights and will be created when no stake key is sent to the API */ AddressType;
};
}
/**
Expand Down

0 comments on commit 4040531

Please sign in to comment.