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

meet syntax-error when abstract class without public #168

Open
Anilople opened this issue Sep 4, 2023 · 0 comments
Open

meet syntax-error when abstract class without public #168

Anilople opened this issue Sep 4, 2023 · 0 comments

Comments

@Anilople
Copy link

Anilople commented Sep 4, 2023

code

abstract class AbstractResource {
  private String path;

  public String getPath() {
    return path;
  }

  public void setPath(String path) {
    this.path = path;
  }
}

the puml generated

@startuml
package com.ctrip.framework.apollo.openapi.client.service {
  abstract ~class AbstractResource {
    - path : String
    ~ AbstractResource()
    + getPath() : String
    + setPath(path : String)
  }
}
@enduml

fail to compile by puml becasue ~ in ~class

Apollo Open Api urm

when change ~class to class, it work.

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

No branches or pull requests

2 participants