Package

io.atomicbits.scraml.ramlparser

model

Permalink

package model

Created by peter on 26/08/16.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. model
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AbsoluteFragmentId(root: RootId, fragments: List[String]) extends AbsoluteId with Product with Serializable

    Permalink

    This is the absolute version of a fragment id.

    This is the absolute version of a fragment id. It is prepended with its root's achor. E.g. "http://atomicbits.io/schema/User.json#/some/schema/path/license"

    root

    The root of this absolute fragment id.

    fragments

    The path that composes the fragment id.

  2. trait AbsoluteId extends Id

    Permalink
  3. case class Action(actionType: Method, headers: Parameters, queryParameters: Parameters, body: Body, responses: Responses) extends Product with Serializable

    Permalink

    Created by peter on 10/02/16.

  4. case class Body(headerMap: Map[MimeType, BodyContent] = Map.empty) extends Product with Serializable

    Permalink

    Created by peter on 26/08/16.

  5. case class BodyContent(mimeType: MimeType, bodyType: Option[Type] = None, formParameters: Parameters = Parameters()) extends Product with Serializable

    Permalink

    Created by peter on 10/02/16.

  6. sealed trait DateFormat extends AnyRef

    Permalink

    Created by peter on 19/08/16.

  7. case class FragmentId(fragments: List[String]) extends Id with Product with Serializable

    Permalink

    A fragment id identifies its schema uniquely by the schema path (JSON path in the original JSON representation) from its nearest root schema towards itself.

    A fragment id identifies its schema uniquely by the schema path (JSON path in the original JSON representation) from its nearest root schema towards itself. In other words, the fragment id should always match this schema path and is redundant from that point of view. It is of the form "#/some/schema/path/license"

    fragments

    The path that composes the fragment id.

  8. sealed trait Id extends AnyRef

    Permalink

    Created by peter on 25/03/16.

  9. sealed trait Method extends AnyRef

    Permalink

    Created by peter on 10/02/16.

  10. case class MimeType(value: String) extends Product with Serializable

    Permalink

    Created by peter on 26/08/16.

  11. case class Parameter(name: String, parameterType: Type, required: Boolean = true, repeated: Boolean = false) extends Product with Serializable

    Permalink

    Created by peter on 10/02/16.

  12. case class Parameters(valueMap: Map[String, Parameter] = Map.empty) extends Product with Serializable

    Permalink
  13. type Properties = Parameters

    Permalink
  14. type Property = Parameter

    Permalink
  15. case class Raml(title: String, mediaType: Option[MimeType], description: Option[String], version: Option[String], baseUri: Option[String], baseUriParameters: Parameters, protocols: Option[Seq[String]], traits: Traits, types: Types, resources: Seq[Resource]) extends Product with Serializable

    Permalink

    Created by peter on 10/02/16.

  16. case class RelativeId(id: String) extends Id with Product with Serializable

    Permalink

    A relative id identifies its schema uniquely when expanded with the anchor of its root schema.

    A relative id identifies its schema uniquely when expanded with the anchor of its root schema. Its root schema is its nearest parent that has an absolute id. A schema with a relative id is the root for its child-schemas that don't have an absolute or relative id. A relative id is of the form "contact/ShippingAddress.json".

    id

    The string representation of the id

  17. case class Resource(urlSegment: String, urlParameter: Option[Parameter] = None, displayName: Option[String] = None, description: Option[String] = None, actions: List[Action] = List.empty, resources: List[Resource] = List.empty, parent: Option[Resource] = None) extends Product with Serializable

    Permalink

    Created by peter on 10/02/16.

  18. case class Response(status: StatusCode, headers: Parameters, body: Body) extends Product with Serializable

    Permalink

    Created by peter on 10/02/16.

  19. case class Responses(responseMap: Map[StatusCode, Response] = Map.empty) extends Product with Serializable

    Permalink

    Created by peter on 26/08/16.

  20. case class RootId(id: String) extends AbsoluteId with Product with Serializable

    Permalink

    An absolute id uniquely identifies a schema.

    An absolute id uniquely identifies a schema. A schema with an absolute id is the root for its child-schemas that don't have an absolute or relative id. An absolute id is of the form "http://atomicbits.io/schema/User.json" and often it ends with a "#".

    id

    The string representation of the id

  21. case class StatusCode(code: String) extends Product with Serializable

    Permalink

    Created by peter on 26/08/16.

  22. case class Traits(traitsMap: Map[String, JsObject]) extends Product with Serializable

    Permalink

    Created by peter on 10/02/16.

Value Members

  1. object Action extends Serializable

    Permalink
  2. object Body extends Serializable

    Permalink
  3. object BodyContent extends Serializable

    Permalink
  4. object DateOnlyTimeOnly extends DateFormat with Product with Serializable

    Permalink
  5. object Delete extends Method with Product with Serializable

    Permalink
  6. object Get extends Method with Product with Serializable

    Permalink
  7. object Head extends Method with Product with Serializable

    Permalink
  8. object IdAnalyser

    Permalink
  9. object IdExtractor

    Permalink

    Created by peter on 25/03/16.

  10. object ImplicitId extends Id with Product with Serializable

    Permalink

    An implicit id marks the absense of an id.

    An implicit id marks the absense of an id. It implies that the schema should be uniquely identified by the schema path (JSON path in the original JSON representation) from its nearest root schema towards itself. In other words, an implicit id is a fragment id that hasn't been set.

  11. object JsInclude

    Permalink

    Created by peter on 10/02/16.

  12. object Method

    Permalink
  13. object MimeType extends Serializable

    Permalink
  14. object Options extends Method with Product with Serializable

    Permalink
  15. object Parameters extends Serializable

    Permalink

    Created by peter on 26/08/16.

  16. object Patch extends Method with Product with Serializable

    Permalink
  17. object Post extends Method with Product with Serializable

    Permalink
  18. object Put extends Method with Product with Serializable

    Permalink
  19. object RFC2616 extends DateFormat with Product with Serializable

    Permalink
  20. object RFC3339DateTime extends DateFormat with Product with Serializable

    Permalink
  21. object RFC3339FullDate extends DateFormat with Product with Serializable

    Permalink
  22. object RFC3339PartialTime extends DateFormat with Product with Serializable

    Permalink
  23. object Raml extends Serializable

    Permalink
  24. object RefExtractor

    Permalink
  25. object Resource extends Serializable

    Permalink
  26. object Response extends Serializable

    Permalink
  27. object Responses extends Serializable

    Permalink
  28. object Trace extends Method with Product with Serializable

    Permalink
  29. object Traits extends Serializable

    Permalink
  30. package types

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped