Sha256: 78393d5136f4a85dccd06e8ba6b374033ff5fca277ac904deb44165a7d60fca9

Contents?: true

Size: 1.59 KB

Versions: 10

Compression:

Stored size: 1.59 KB

Contents

h2
  | Version
  =<> version.version
a href=to(version.version)
  i.glyphicon.glyphicon-chevron-left>
  | Back

.row
  .col-md-8
    h2 Endpoints

    .panel-group#endpoints
      - protocol.endpoints.each do |endpoint|
        .panel.panel-default
          .panel-heading
            h4.panel-title
              a data-toggle="collapse" href="#collapse#{endpoint.name}"
                = endpoint.description
          .panel-collapse.collapse.in id="collapse#{endpoint.name}"
            .panel-body
              p = endpoint.doc

              h4 Parameters

              ul
                - endpoint.parameters.each do |parameter|
                  li
                    => parameter.type
                    = parameter.name

              h4 Response
              p 
                = endpoint.response_type

  .col-md-4
    h2 Types

    .panel-group#types
      - protocol.types.each do |type|
        .panel.panel-default
          .panel-heading
            h4.panel-title
              a data-toggle="collapse" href="#collapse#{type.name}"
                = type.name
          .panel-collapse.collapse.in id="collapse#{type.name}"
            .panel-body
              - type.fields.each do |field|
                p
                  a.pull-right data-toggle="collapse" href="#collapseDescription#{type.name}#{field.name}"
                    i.glyphicon.glyphicon-info-sign
                  => field.type
                  | -
                  =< field.name
                - if field.doc
                  p.collapse id="collapseDescription#{type.name}#{field.name}"
                    em = field.doc

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
service_contract-0.3.0 lib/service_contract/avro/views/protocol.slim
service_contract-0.2.1 lib/service_contract/avro/views/protocol.slim
service_contract-0.2.0 lib/service_contract/avro/views/protocol.slim
service_contract-0.1.1 lib/service_contract/avro/views/protocol.slim
service_contract-0.1.0 lib/service_contract/avro/views/protocol.slim
service_contract-0.0.10 lib/service_contract/avro/views/protocol.slim
service_contract-0.0.8 lib/service_contract/avro/views/protocol.slim
service_contract-0.0.7 lib/service_contract/avro/views/protocol.slim
service_contract-0.0.6 lib/service_contract/avro/views/protocol.slim
service_contract-0.0.5 lib/service_contract/avro/views/protocol.slim