Package

io.atomicbits.scraml.parser

model

Permalink

package model

Visibility
  1. Public
  2. All

Type Members

  1. case class Action(actionType: ActionType, headers: Map[String, Parameter], queryParameters: Map[String, Parameter], body: Map[String, MimeType], responses: Map[String, Response]) extends Product with Serializable

    Permalink

    Created by peter on 17/05/15, Atomic BITS bvba (http://atomicbits.io).

  2. sealed trait ActionType extends AnyRef

    Permalink

    Created by peter on 17/05/15, Atomic BITS bvba (http://atomicbits.io).

  3. case class MimeType(mimeType: String, schema: Option[String], formParameters: Map[String, List[Parameter]]) extends Product with Serializable

    Permalink

    Created by peter on 17/05/15, Atomic BITS bvba (http://atomicbits.io).

    Created by peter on 17/05/15, Atomic BITS bvba (http://atomicbits.io).

    It is not clear why formParameters is a Map from String to a List of FormParameters in the original Java model, I would expect a Map from String to a signle FormParameter.

  4. case class Parameter(parameterType: ParameterType, required: Boolean, repeated: Boolean = false) extends Product with Serializable

    Permalink

    Created by peter on 17/05/15, Atomic BITS bvba (http://atomicbits.io).

  5. sealed trait ParameterType extends AnyRef

    Permalink

    Created by peter on 17/05/15, Atomic BITS bvba (http://atomicbits.io).

  6. case class Raml(resources: List[Resource], schemas: Map[String, String]) extends Product with Serializable

    Permalink

    Created by peter on 17/05/15, Atomic BITS bvba (http://atomicbits.io).

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

    Permalink

    Created by peter on 17/05/15, Atomic BITS bvba (http://atomicbits.io).

  8. case class Response(headers: Map[String, Parameter], body: Map[String, MimeType]) extends Product with Serializable

    Permalink

    Created by peter on 17/05/15, Atomic BITS bvba (http://atomicbits.io).

Value Members

  1. object Action extends Serializable

    Permalink
  2. object BooleanType extends ParameterType with Product with Serializable

    Permalink
  3. object DateType extends ParameterType with Product with Serializable

    Permalink
  4. object Delete extends ActionType with Product with Serializable

    Permalink
  5. object FileType extends ParameterType with Product with Serializable

    Permalink
  6. object Get extends ActionType with Product with Serializable

    Permalink
  7. object Head extends ActionType with Product with Serializable

    Permalink
  8. object IntegerType extends ParameterType with Product with Serializable

    Permalink
  9. object MimeType extends Serializable

    Permalink
  10. object NumberType extends ParameterType with Product with Serializable

    Permalink
  11. object Options extends ActionType with Product with Serializable

    Permalink
  12. object Parameter extends Serializable

    Permalink
  13. object Patch extends ActionType with Product with Serializable

    Permalink
  14. object Post extends ActionType with Product with Serializable

    Permalink
  15. object Put extends ActionType with Product with Serializable

    Permalink
  16. object Raml extends Serializable

    Permalink
  17. object Resource extends Serializable

    Permalink
  18. object Response extends Serializable

    Permalink
  19. object StringType extends ParameterType with Product with Serializable

    Permalink
  20. object Trace extends ActionType with Product with Serializable

    Permalink
  21. object Transformer

    Permalink

    Created by peter on 17/05/15, Atomic BITS bvba (http://atomicbits.io).

Ungrouped