Sha256: a1758600eba288a01a6e6a13dd0d1266d075b0a217521cab980dac3e734c921c

Contents?: true

Size: 648 Bytes

Versions: 2

Compression:

Stored size: 648 Bytes

Contents

# frozen_string_literal: true
module JsonSchemaDocs
  module Configuration
    JSON_SCHEMA_DOCS_DEFAULTS = {
      # initialize
      filename: nil,
      schema: nil,

      # Generating
      delete_output: false,
      output_dir: './output/',

      templates: {
        endpoint: "#{File.dirname(__FILE__)}/layouts/endpoint.md.erb",
        object: "#{File.dirname(__FILE__)}/layouts/object.md.erb",

        includes: "#{File.dirname(__FILE__)}/layouts/includes",
      },

      prmd: {
        http_header: {},
        content_type: 'application/json',
        doc: {
          url_style: 'default'
        }
      }
    }.freeze
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
json-schema-docs-0.1.1 lib/json-schema-docs/configuration.rb
json-schema-docs-0.1.0 lib/json-schema-docs/configuration.rb