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

RESTWS-957: Fix Swagger errors displayed on the openmrs swagger api docs page #67

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

mherman22
Copy link
Member

@mherman22 mherman22 requested a review from ibacher October 4, 2024 12:00
@@ -181,6 +186,16 @@ public DelegatingResourceDescription getCreatableProperties() {
return description;
}

@Override
public Model getCREATEModel(Representation rep) {
return new ModelImpl().property("comment", new StringProperty());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we support more fields than just this, no?

Copy link
Member

@ibacher ibacher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start!

@mherman22 mherman22 requested a review from ibacher October 6, 2024 18:57
@ibacher ibacher merged commit e62127e into openmrs:master Oct 7, 2024
1 check passed
@mherman22 mherman22 deleted the RESTWS-957 branch October 27, 2024 19:32
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

Successfully merging this pull request may close these issues.

2 participants