davidkel / hlf

0 stars 0 forks source link

example contract schemas in the fabric-contract-api schema directory do not conform to the schema #39

Open davidkel opened 4 years ago

davidkel commented 4 years ago

Noticed the following in the example but there could be other problems

                    "return": [
                        {
                            "name": "commercialpaper",
                            "description": "Commercial Paper Object",
                            "required": true,
                            "schema": {
                                "$ref": "#/components/schemas/paper"
                            }
                        }
                    ]

note that it should be returns and not return, plus this doesn't match the definition of returns that appears to have changed between 1.4.0 and 1.4.1 and would fail validation