Sha256: 3ebb5718a035ac21fa858d60367f7e6e5112e5029b32818dfad22308d294a3a2

Contents?: true

Size: 645 Bytes

Versions: 7

Compression:

Stored size: 645 Bytes

Contents

.layout
  .header
    = render 'title'
  .content
    div.aside
      div#side-menu
        = render 'side_menu', locals: { models: @request_repository.keys }

    div.main-block

      - @request_repository.each do |model, params|

        div[id=(model.to_s)]

          h2 = model.to_s

          p
            | Scopes
            |  #{model.scopes_configuration.keys.map { |key| ":#{key}"}.join(', ')}

          p
            | Request
            = render 'request_api_table', locals: { model: model, params: params }

          p
            | Response
            = render 'response_api_table', model: model, repo: @response_repository

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_api_documentation-0.2.2 app/views/rails_api_doc/api_docs/index.slim
rails_api_documentation-0.2.1 app/views/rails_api_doc/api_docs/index.slim
rails_api_documentation-0.2.0 app/views/rails_api_doc/api_docs/index.slim
rails_api_documentation-0.1.9 app/views/rails_api_doc/api_docs/index.slim
rails_api_documentation-0.1.8 app/views/rails_api_doc/api_docs/index.slim
rails_api_documentation-0.1.7 app/views/rails_api_doc/api_docs/index.slim
rails_api_documentation-0.1.6 app/views/rails_api_doc/api_docs/index.slim