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

[BUG] [PHP] Some models do not have a baseType #19662

Open
5 of 6 tasks
JulianVennen opened this issue Sep 24, 2024 · 0 comments
Open
5 of 6 tasks

[BUG] [PHP] Some models do not have a baseType #19662

JulianVennen opened this issue Sep 24, 2024 · 0 comments

Comments

@JulianVennen
Copy link
Contributor

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

Some models do not have a baseType property, which causes broken links (e.g. ../Model/.md) and duplicated qualifiers (e.g. \OpenAPI\Client\Model\\OpenAPI\Client\Model\StringEnumRef) in the documentation of the PHP generator.

openapi-generator version

This issue occurs on master (7d8eacc)

OpenAPI declaration file content or url

The issue occurs with the echo_api spec included in the generator samples.

Generation Details

See the php-nextgen-echo-api.yaml config

Steps to reproduce
Related issues/PRs

This issue was previously mentioned in #19567

Suggest a fix

Finding the reason the baseType is not set and solving it should fix this issue.

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

No branches or pull requests

1 participant