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

merged spec caused null pointer exception #18393

Closed
minesunny opened this issue Apr 15, 2024 · 0 comments
Closed

merged spec caused null pointer exception #18393

minesunny opened this issue Apr 15, 2024 · 0 comments

Comments

@minesunny
Copy link

Description

merged spec caused null pointer exception

openapi-generator version

7.4.0

OpenAPI declaration file content or url
servers:
- url: "http://localhost:8080"
openapi: "3.0.3"
paths:
  /dict:
    $ref: "./Dict.yaml#/paths/~1dict"
  /dataSource:
    $ref: "./DataSource.yaml#/paths/~1dataSource"
  /dict/page:
    $ref: "./Dict.yaml#/paths/~1dict~1page"
  /driver:
    $ref: "./Driver.yaml#/paths/~1driver"
  /dataSource/page:
    $ref: "./DataSource.yaml#/paths/~1dataSource~1page"
  /dataSourceTree:
    $ref: "./DataSourceTree.yaml#/paths/~1dataSourceTree"
  /dataSourceTree/menu:
    $ref: "./DataSourceTree.yaml#/paths/~1dataSourceTree~1menu"
info:
  title: "merged spec"
  description: "merged spec"
  version: "1.0.0"
Command line used for generation

openapi-generator-cli generate --input-spec-root-directory ./api/
-g spring -o generated-spring-boot-openapi \

Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement

image
mered spec file doesn't have body content
image

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

No branches or pull requests

1 participant