Sha256: 71040660c06af6e65ca159db33f6c6717fb9a8692cdf0bc3f1d1aa9fe52bff0f

Contents?: true

Size: 913 Bytes

Versions: 3

Compression:

Stored size: 913 Bytes

Contents

name: 'Drive'
url: 'http://localhost:3000/api'
resources:
    user:   
     -
      uri: '/users'
      action: 'get'
      description: 'Get the list of the users'
     -
      uri: '/users/:id'
      action: 'get'
      headers:
        content_type: 'application/json'
        content_language: 'en-US'
      params:
        id: 
          type: 'String'
     -
      uri: '/users/:id'
      action: 'put'
      headers:
        content_type: 'application/json'
        content_language: 'en-US'
      params:
        id: 
          type: 'String'
          description: 'User id'
          required: true
        name:
          type: 'String'
          description: 'User name'
          required: false
        email:
          type: 'String'
          description: 'User email'
          required: true
    group:
     -
      uri: '/groups'
      action: 'get'
      description: 'Get the list og groups'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
calamum-1.0.2 spec/data/my_definition.yml
calamum-1.0.1 spec/data/my_definition.yml
calamum-1.0.0 spec/data/my_definition.yml