Package

io.atomicbits.scraml.ramlparser

lookup

Permalink

package lookup

Visibility
  1. Public
  2. All

Type Members

  1. case class CanonicalLookup(map: Map[CanonicalName, NonPrimitiveType] = Map.empty) extends Product with Serializable

    Permalink

    Created by peter on 17/12/16.

  2. case class CanonicalLookupHelper(lookupTable: Map[CanonicalName, NonPrimitiveType] = Map.empty, parsedTypeIndex: Map[UniqueId, ParsedType] = Map.empty, referenceOnlyParsedTypeIndex: Map[UniqueId, ParsedType] = Map.empty, jsonSchemaNativeToAbsoluteIdMap: Map[NativeId, AbsoluteId] = Map.empty) extends Product with Serializable

    Permalink

    lookupTable

    The canonical lookup map.

    parsedTypeIndex

    The types that are explicitely declared the in the Raml model's types declaration and those that are implicitely declared inside the resource's parameters (e.g. GET parameters) and body content of responses and replies. Each type declaration is keyed on its native (RAML) id.

    referenceOnlyParsedTypeIndex

    Like parsedTypeIndex, but the elements in this index will not be used directly to create canonical types later on. This index will only contain the Selection elements of a json-schema object. We need to be able to look up those elements, but we will generate their canonical form through their parent.

    jsonSchemaNativeToAbsoluteIdMap

    Native references may be used in the RAML definition to refer to json-schema types that have their own json-schema id internally. This map enables us to translate the canonical name that matches the native id to the canonical name that matches the json-schema id.

  3. case class CanonicalNameGenerator(defaultBasePath: List[String]) extends Product with Serializable

    Permalink

    Created by peter on 17/12/16.

  4. case class CanonicalTypeCollector(canonicalNameGenerator: CanonicalNameGenerator) extends Product with Serializable

    Permalink

    Created by peter on 17/12/16.

  5. case class ParsedTypeIndexer(canonicalNameGenerator: CanonicalNameGenerator) extends Product with Serializable

    Permalink

    Created by peter on 14/02/17.

Value Members

  1. object ParsedToCanonicalTypeTransformer

    Permalink

    Created by peter on 17/12/16.

  2. object TypeUtils

    Permalink

    Created by peter on 22/07/15.

    Created by peter on 22/07/15.

    ToDo: move this functionality inside the TypeLookupTable to simplify its interface.

  3. package transformers

    Permalink

Ungrouped