nomisRev / ktor-arrow-example

Real World implementation - "The mother of all demo apps". Written in Kotlin, with Ktor, Arrow, SqlDelight, KotlinX Serialization, etc.
Apache License 2.0
268 stars 34 forks source link

Get Tags #157 #176

Closed arioston closed 1 year ago

arioston commented 1 year ago

This PR implements the GET /tags operation as listedfollowing OpenAPI Spec.

  /tags:
    get:
      tags:
        - Tags
      summary: Get tags
      description: Get tags. Auth not required
      operationId: GetTags
      responses:
        '200':
          $ref: '#/components/responses/TagsResponse'
        '422':
          $ref: '#/components/responses/GenericError'
arioston commented 1 year ago

When a new user is created, this test begins to fail https://github.com/nomisRev/ktor-arrow-example/blob/962b1b549c63d12b15dd444faec3d336d0468577/src/test/kotlin/io/github/nomisrev/service/UserServiceSpec.kt#L135