Skip to content

Commit

Permalink
Fix Swagger syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
omarahm committed Oct 2, 2017
1 parent 7dac8c0 commit 57d6949
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/notary-core/contracts/promises/rest/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,18 +381,18 @@ paths:
href:
type: string
example: "http://notary.omar.de/projects/bm90YXJ5fGNvbnRyYWN0cy8gLW4K/revisions/master/contracts/notary_core_v1.1_restful_api/raw-content"
"rest-complete-swagger":
rest-single-file-swagger:
type: object
properties:
href:
type: string
example: "http://notary.omar.de/projects/bm90YXJ5fGNvbnRyYWN0cy8gLW4K/revisions/master/contracts/notary_core_v1.1_restful_api/rest/complete-swagger"
"schema:renderedYaml":
example: "http://notary.omar.de/rest/single-file-swagger?project=bm90YXJ5fGNvbnRyYWN0cy8gLW4K&revision=master&contract=notary_core_v1.1_restful_api"
schema-rendered-yaml:
type: object
properties:
href:
type: string
example: "http://notary.omar.de/projects/bm90YXJ5fGNvbnRyYWN0cy8gLW4K/revisions/master/contracts/notary_core_v1.1_restful_api/schema/rendered-yaml"
example: "http://notary.omar.de/schema/rendered-yaml?project=bm90YXJ5fGNvbnRyYWN0cy8gLW4K&revision=master&contract=promise__default__schema"
required:
- self
- raw-content
Expand Down Expand Up @@ -545,7 +545,7 @@ definitions:
example: "http://notary.omar.de/schema/rendered-yaml?project=bm90YXJ5fGNvbnRyYWN0cy8gLW4K&revision=master&contract=promise__default__schema"
required:
- self
- rawContract
- raw-content
ValidationReport:
type: object
ProjectNotFound:
Expand Down

0 comments on commit 57d6949

Please sign in to comment.