Skip to content

newly added annotations cause issues for clients consuming the API spec with OpenAPI Generator for Java #78

Description

@thomas-corte

Hello,

I'm consuming the spec using OpenAPI Generator to create Java code for accessing the RST API.

Due to the spec changes from #71, I'm now getting compilation errors complaining that a package

org.icann.rst.commons.annotations

doesn't exist. Apparently the annotations create this dependency.

Not sure about other languages, but is there maybe a Java support library that's supposed to be used with this version of the API spec but which isn't published anywhere?

Workarounds for this are to either

  • remove the annotations before creating the client code or
  • to create own stub versions of the ICANN annotations in the proper package

but both seem awkward for clients seeking to use the API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions