opendata-for-all / wapiml

An OpenAPI round-trip tool that leverages model-driven techniques to create, visualize, manage, and generate OpenAPI definitions.
Eclipse Public License 2.0
69 stars 18 forks source link

Stereotypes APIProperty and APIParameter resolved to null #10

Closed hamzaed closed 5 years ago

hamzaed commented 5 years ago

Impossible to apply the stereotypes APIProperty and APIParameter. property.getApplicableStereotype("OpenAPIProfile::APIProperty") and parameter.getApplicableStereotype("OpenAPIProfile::APIParameter") return null

hamzaed commented 5 years ago

This happens when you try to apply a stereotype before attaching the element to a resource. Fixed with the help of @abelgomez