mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-19 00:15:08 +00:00
[FAB-15993] use new annotations
Contracts now need to use new Fabric annotations instead of swagger info annotations Change-Id: I038ba39025db27c5298390cd9ef28413b5b8ef31 Signed-off-by: James Taylor <jamest@uk.ibm.com>
This commit is contained in:
parent
3429e22a9e
commit
cf5855dd5d
1 changed files with 3 additions and 4 deletions
|
|
@ -9,8 +9,11 @@ import java.util.List;
|
|||
|
||||
import org.hyperledger.fabric.contract.Context;
|
||||
import org.hyperledger.fabric.contract.ContractInterface;
|
||||
import org.hyperledger.fabric.contract.annotation.Contact;
|
||||
import org.hyperledger.fabric.contract.annotation.Contract;
|
||||
import org.hyperledger.fabric.contract.annotation.Default;
|
||||
import org.hyperledger.fabric.contract.annotation.Info;
|
||||
import org.hyperledger.fabric.contract.annotation.License;
|
||||
import org.hyperledger.fabric.contract.annotation.Transaction;
|
||||
import org.hyperledger.fabric.shim.ChaincodeException;
|
||||
import org.hyperledger.fabric.shim.ChaincodeStub;
|
||||
|
|
@ -19,10 +22,6 @@ import org.hyperledger.fabric.shim.ledger.QueryResultsIterator;
|
|||
|
||||
import com.owlike.genson.Genson;
|
||||
|
||||
import io.swagger.v3.oas.annotations.info.Contact;
|
||||
import io.swagger.v3.oas.annotations.info.Info;
|
||||
import io.swagger.v3.oas.annotations.info.License;
|
||||
|
||||
/**
|
||||
* Java implementation of the Fabric Car Contract described in the Writing Your
|
||||
* First Application tutorial
|
||||
|
|
|
|||
Loading…
Reference in a new issue