Sha256: 0122818279b5147bd67d4e85a46d84fe34f2dc25ba5e9279ba257aefb13ff5ad

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

/users:
  get:
    tags:
      - Users
    summary: "List Users"
    operationId: listUsers
    responses:
      "404":
        description: "Not Found"
      "200":
        description: "OK"
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: array
                  items: 
                    $ref: "#/components/schemas/User::Attributes"
                has_more:
                  type: boolean
/users/{id}:
  get:
    tags:
      - Users
    summary: "Fetch User"
    operationId: fetchUser
    parameters:
      - $ref: "#/components/parameters/id"
    responses:
      "404":
        description: "Not Found"
      "200":
        description: "OK"
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/User::Attributes"
  put:
    tags:
      - Users
    summary: "Update User"
    operationId: updateUser
    parameters:
      - $ref: "#/components/parameters/id"
    responses:
      "404":
        description: "Not Found"
      "200":
        description: "OK"
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/User::Parameters"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bullet_train-api-1.1.6 app/views/api/v1/open_api/users/_paths.yaml.erb
bullet_train-api-1.1.5 app/views/api/v1/open_api/users/_paths.yaml.erb
bullet_train-api-1.1.4 app/views/api/v1/open_api/users/_paths.yaml.erb