Skip to content

Allow 'apicurio.codegen.openapi.spec' to optionally point to a YAML file #180

Open

Description

@theseeker58

Is it possible to set apicurio.codegen.openapi.spec property with a yaml file?
I tried but nothing happens; no exceptions either.

I tried to convert yaml to json and the generation succedes, but while model classes are successfully generated removing hyphens and underscores, resource class keeps not allowed characters and so compilation fails. I attach openapi downloaded from the Berlin Group (https://www.berlin-group.org/openfinance-downloads)
RTP_SCTv1_0_0__20220303.yaml.zip

Activity

  1. changed the title [-]Yaml spec file[/-] [+]Allow 'apicurio.codegen.openapi.spec' to optionally point to a YAML file[/+] on Jun 28, 2023
  2. added
    type/enhancement
    on Jun 28, 2023
  3. EricWittmann commented on Jun 28, 2023

    @EricWittmann
    Contributor

    I think supporting YAML files is sensible. That shouldn't be a big problem.

    As for the failed compilation for the Berlin Group API - that will need some investigation and I'll open a separate GH issue for it.

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

    type/enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions