Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
theseeker58 opened this issue Jun 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@theseeker58
Copy link

theseeker58 commented Jun 27, 2023

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

@EricWittmann EricWittmann changed the title Yaml spec file Allow 'apicurio.codegen.openapi.spec' to optionally point to a YAML file Jun 28, 2023
@EricWittmann EricWittmann added the enhancement New feature or request label Jun 28, 2023
@EricWittmann
Copy link
Member

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
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants