From 4f34cb7c1e917224f28c12ff052e98dd9d311084 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Mon, 10 Dec 2018 16:00:38 +0000 Subject: [PATCH] Update LCD swagger docs --- client/lcd/swagger-ui/swagger.yaml | 66 +++--------------------------- 1 file changed, 6 insertions(+), 60 deletions(-) diff --git a/client/lcd/swagger-ui/swagger.yaml b/client/lcd/swagger-ui/swagger.yaml index 82e7c34293..0ecbe505fe 100644 --- a/client/lcd/swagger-ui/swagger.yaml +++ b/client/lcd/swagger-ui/swagger.yaml @@ -376,16 +376,6 @@ paths: produces: - application/json parameters: - - in: query - name: simulate - description: if true, ignore the gas field and perform a simulation of a transaction, but don't broadcast it - required: false - type: boolean - - in: query - name: generate_only - description: if true, build an unsigned transaction and write it back - required: false - type: boolean - in: path name: address description: Account address in bech32 format @@ -638,16 +628,6 @@ paths: post: summary: Submit delegation parameters: - - in: query - name: simulate - description: if true, ignore the gas field and perform a simulation of a transaction, but don't broadcast it - required: false - type: boolean - - in: query - name: generate_only - description: if true, build an unsigned transaction and write it back - required: false - type: boolean - in: body name: delegation description: The password of the account to remove from the KMS @@ -1123,16 +1103,6 @@ paths: tags: - ICS23 parameters: - - in: query - name: simulate - description: if true, ignore the gas field and perform a simulation of a transaction, but don't broadcast it - required: false - type: boolean - - in: query - name: generate_only - description: if true, build an unsigned transaction and write it back - required: false - type: boolean - type: string description: Bech32 validator address name: validatorAddr @@ -1169,16 +1139,6 @@ paths: tags: - ICS22 parameters: - - in: query - name: simulate - description: if true, ignore the gas field and perform a simulation of a transaction, but don't broadcast it - required: false - type: boolean - - in: query - name: generate_only - description: if true, build an unsigned transaction and write it back - required: false - type: boolean - description: valid value of `"proposal_type"` can be `"text"`, `"parameter_change"`, `"software_upgrade"` name: post_proposal_body in: body @@ -1257,16 +1217,6 @@ paths: tags: - ICS22 parameters: - - in: query - name: simulate - description: if true, ignore the gas field and perform a simulation of a transaction, but don't broadcast it - required: false - type: boolean - - in: query - name: generate_only - description: if true, build an unsigned transaction and write it back - required: false - type: boolean - type: string description: proposal id name: proposalId @@ -1355,16 +1305,6 @@ paths: tags: - ICS22 parameters: - - in: query - name: simulate - description: if true, ignore the gas field and perform a simulation of a transaction, but don't broadcast it - required: false - type: boolean - - in: query - name: generate_only - description: if true, build an unsigned transaction and write it back - required: false - type: boolean - type: string description: proposal id name: proposalId @@ -1888,6 +1828,12 @@ definitions: gas_adjustment: type: string example: "1.2" + generate_only: + type: boolean + example: false + simulate: + type: boolean + example: true TendermintValidator: type: object properties: