These are chat archives for zalando/play-swagger

23rd
Oct 2015
nmc.borst
@nmcb
Oct 23 2015 08:26
test
paths:
    /:
        get:
            parameters:
                limit:
                    type: int
    /get:
        parameters:
            limit:
                type: int
        get:
            parameters:
                limit:
                    type: int
        post:
slavaschmidt
@slavaschmidt
Oct 23 2015 08:28
/get/limit
//get/limit
nmc.borst
@nmcb
Oct 23 2015 08:30
paths:
    /:    
        get:
            parameters:
                limit:  -> /get/limit
                    type: int
    /get:
        parameters:
            limit: -> //get/limit
                type: int
        get:
            parameters:
                limit:
                    type: int
        post:
slavaschmidt
@slavaschmidt
Oct 23 2015 08:32
/~get~limit
/get~limit
/get~get~limit
/user/rights/roles/byName/{id}
/user~rights~roles~byName~{id}
/user//{id}
/user~~{id}
nmc.borst
@nmcb
Oct 23 2015 08:37
/user//{id}
/ -> /
/user -> /user
/:
slavaschmidt
@slavaschmidt
Oct 23 2015 08:41
/:
ROOT ~ ""
///: -> ROOT ~ "" ~ "" ~ ""
nmc.borst
@nmcb
Oct 23 2015 08:46
paths:
  /:                      -> path-name      := "/"
    get:                  -> 
      parameters:
        limit:            -> parameter-name := "/limit"
          type: int
    /get:                 -> path-name      := "/get"
      parameters:
        limit:            -> parameter-name := "/get/limit"
          type: int
      get:
        parameters:
          limit:          -> "parmeter-name := "/get/limit"
            type: int
      post:
paths:
  /:                      -> path-name      := "/"
    get:                  -> 
      parameters:
        limit:            -> parameter-name := "/limit"
          type: int
    /get:                 -> path-name      := "/get"
      parameters:
        limit:            -> parameter-name := "/get/limit"
          type: int
      get:
        parameters:
          limit:          -> parmeter-name := "/get/limit"
            type: int
      post:
slavaschmidt
@slavaschmidt
Oct 23 2015 08:47
/get/get/limit
nmc.borst
@nmcb
Oct 23 2015 08:49
wrong because doublicates, but to get to a spec:
paths:
  /:                      -> path-name      := "/"
    get:                  -> method-name    := "/get"
      parameters:
        limit:            -> parameter-name := "/limit"
          type: int
    /get:                 -> path-name      := "/get"
      parameters:
        limit:            -> parameter-name := "/get/limit"
          type: int
      get:                -> method-name    := "/get/get"
        parameters:
          limit:          -> parmeter-name  := "/get/limit"
            type: int
      post:
paths:
  /:                      -> path-name      := "/"
    get:                  -> method-name    := "/get"
      parameters:
        limit:            -> parameter-name := "/limit"
          type: int
    /get:                 -> path-name      := "/get"
      parameters:
        limit:            -> parameter-name := "/get/limit"
          type: int
      get:                -> method-name    := "/get/get"
        parameters:
          limit:          -> parmeter-name  := "/get/limit"
            type: int
      post:               -> method-name    := "/get/post"
slavaschmidt
@slavaschmidt
Oct 23 2015 08:59
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=
nmc.borst
@nmcb
Oct 23 2015 09:12
paths:
  /:                      -> path-name      := "⊢/"
    get:                  -> method-name    := "⊢/⊢get"
      parameters:
        limit:            -> parameter-name := "⊢/⊢get⊢limit"
          type: int
    /get:                 -> path-name      := "⊢/⊢/get"
      parameters:
        limit:            -> parameter-name := "⊢/⊢/get⊢limit"
          type: int
      get:                -> method-name    := "⊢/⊢/get⊢get"
        parameters:
          limit:          -> parmeter-name  := "⊢/⊢/get⊢get⊢limit"
            type: int
      post:               -> method-name    := "⊢/⊢/get⊢post"
paths:
  /:                      -> path-name      := "⋯/"
    get:                  -> method-name    := "⋯/⋯get"
      parameters:
        limit:            -> parameter-name := "⋯/⋯get⋯limit"
          type: int
    /get:                 -> path-name      := "⋯/⋯/get"
      parameters:
        limit:            -> parameter-name := "⋯/⋯/get⋯limit"
          type: int
      get:                -> method-name    := "⋯/⋯/get⋯get"
        parameters:
          limit:          -> parmeter-name  := "⋯/⋯/get⋯get⋯limit"
            type: int
      post:               -> method-name    := "⋯/⋯/get⋯post"
nmc.borst
@nmcb
Oct 23 2015 09:28
paths:
  /:                      -> path-name      := "⤇/"
    get:                  -> method-name    := "⤇/⤇get"
      parameters:
        limit:            -> parameter-name := "⤇/⤇get⤇limit"
          type: int
  /get:                 -> path-name      := "⤇/get"
    parameters:
      limit:            -> parameter-name := "⤇/get⤇limit"
        type: int
    get:                -> method-name    := "⤇/get⤇get"
      parameters:
        limit:          -> parmeter-name  := "⤇/get⤇get⤇limit"
          type: int
    post:               -> method-name    := "⤇/get⤇post"
paths:
  /:                    -> path-name      := "/"
    get:                -> method-name    := "/⟿get"
      parameters:
        limit:          -> parameter-name := "/⟿get⟿limit"
          type: int
  /get:                 -> path-name      := "/get"
    parameters:
      limit:            -> parameter-name := "/get⟿limit"
        type: int
    get:                -> method-name    := "/get⟿get"
      parameters:
        limit:          -> parmeter-name  := "/get⟿get⟿limit"
          type: int
    post:               -> method-name    := "/get⟿post"

  /foo/bar:             -> path-name      := "/foo/bar"
slavaschmidt
@slavaschmidt
Oct 23 2015 09:33
/⟿/boo
nmc.borst
@nmcb
Oct 23 2015 09:34
paths:
  /:                    -> path-name      := "/"
    get:                -> method-name    := "/⟿get"
      parameters:
        limit:          -> parameter-name := "/⟿get⟿limit"
          type: int
    /get:                 -> path-name      := "/get"
      parameters:
        limit:            -> parameter-name := "/get⟿limit"
          type: int
      get:                -> method-name    := "/get⟿get"
        parameters:
          limit:          -> parmeter-name  := "/get⟿get⟿limit"
            type: int
      post:               -> method-name    := "/get⟿post"
slavaschmidt
@slavaschmidt
Oct 23 2015 09:36
/foo⟿/bar
nmc.borst
@nmcb
Oct 23 2015 09:37
paths:
  /:                    -> path-name      := "/"
    get:                -> method-name    := "/⟿get"
      parameters:
        limit:          -> parameter-name := "/⟿get⟿limit"
          type: int
  /get:                 -> path-name      := "/get"
    parameters:
      limit:            -> parameter-name := "/get⟿limit"
        type: int
    get:                -> method-name    := "/get⟿get"
      parameters:
        limit:          -> parmeter-name  := "/get⟿get⟿limit"
          type: int
    post:               -> method-name    := "/get⟿post"

  /foo:                 -> path-name      := "/foo"
    /bar:               -> path-name      := "/foo⟿/bar"
slavaschmidt
@slavaschmidt
Oct 23 2015 09:38
/user/children/males/under18
nmc.borst
@nmcb
Oct 23 2015 09:39
paths:
  /:                    -> path-name      := "/"
    get:                -> method-name    := "/⟿get"
      parameters:
        limit:          -> parameter-name := "/⟿get⟿limit"
          type: int
  /get:                 -> path-name      := "/get"
    parameters:
      limit:            -> parameter-name := "/get⟿limit"
        type: int
    get:                -> method-name    := "/get⟿get"
      parameters:
        limit:          -> parmeter-name  := "/get⟿get⟿limit"
          type: int
    post:               -> method-name    := "/get⟿post"

  /foo:                 -> path-name      := "/foo"
    /bar:               -> path-name      := "/foo⟿/bar"

  /baz/qux:             -> path-name      := "/baz⟿/qux"
slavaschmidt
@slavaschmidt
Oct 23 2015 09:43

`/pets:

/dogs/black/:`

(/pets) ⟿ (/dogs/black)
(/pets) ⟿ (/dogs)⟿(/black)
def /(pp: String) = name.copy(parts = name.parts :+ pp)
def /(pp: String) = name.copy(parts = name.parts :+ parse(pp))
nmc.borst
@nmcb
Oct 23 2015 09:57
urn:uuid:123456789
urn:path:/
urn:parameter:limit
slavaschmidt
@slavaschmidt
Oct 23 2015 09:59
/get⟿get⟿limit
nmc.borst
@nmcb
Oct 23 2015 10:02
urn:path
This message was deleted
urn:verb
urn:type