Sha256: c14b990c413610014f0e985660ea372aae47f2a4865fd269d3457a4e8b39d8ec

Contents?: true

Size: 986 Bytes

Versions: 3

Compression:

Stored size: 986 Bytes

Contents

---
user.json:
  get:
    request:
      title: GET user.json (request)
      type: object
      additionalProperties: false
      properties:
        id:
          type: integer
        token:
          type: string
    response:
      title: GET user.json (response)
      type: array
      items:
        type: object
        additionalProperties: false
        properties:
          id:
            type: integer
          admin:
            type: integer
            enum:
              - 0
          avatar:
            type: string
            optional: true
          name:
            type: string
          company:
            type: object
            additionalProperties: false
            properties:
              name:
                type: string
          articles:
            type: array
            items:
              type: object
              properties:
                title:
                  type: string
                body:
                  type: string

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
json_schema_spec-0.1.2 spec/fixtures/schema.yml
json_schema_spec-0.1.1 spec/fixtures/schema.yml
json_schema_spec-0.1.0 spec/fixtures/schema.yml