OpenAPITools / OpenAPITools/openapi-generator

[REQ] Generate Rest-assured client for Kotlin and Scala

Open
#4,642 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Is your feature request related to a problem? Please describe.

Rest-assured client is generated only for java language. Sometimes we need to have test client for a different language for instance on which our server is implemented.

Describe the solution you'd like

It would be great if openapi-generator generates rest-assured client for Scala and Kotlin.
Rest-assured supports specified modules for that
https://github.com/rest-assured/rest-assured/wiki/Usage#scala-support-module
https://github.com/rest-assured/rest-assured/wiki/Usage#kotlin
Of course original interface of API client should stay the same for all new clients.

Additional context

I can do that, but I would like to hear your thoughts.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing Java Rest-assured client generator and the linked Rest-assured Scala and Kotlin support modules. Determine how generated clients preserve the existing API interface, then add coverage for both requested languages and verify generation against representative OpenAPI specifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin, scala
Domain
api, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.