fabiobrz / eap-microprofile-test-suite

a small standalone test suite for MicroProfile on WF/EAP
Apache License 2.0
0 stars 0 forks source link

TD - Seek inspiration #1

Closed fabiobrz closed 4 years ago

fabiobrz commented 4 years ago

TD - Sketch MP OpenAPI test application to demonstrate tests as per TP:

fabiobrz commented 4 years ago

MP OpenAPI specs (again)

fabiobrz commented 4 years ago

Look at Google Group + Zulip for new ideas

fabiobrz commented 4 years ago

Looking at forks - istraka

fabiobrz commented 4 years ago
fabiobrz commented 4 years ago

experiments with Quarkus, Thorntail, OpenLiberty etc.

Done using OpenLiberty start guide on OpenAPI, [1]. Application was built and executed through OpenLiberty, Wildfly feature branch dist and Thorntail. Output of document returned by /openapi endpoint was saved and diff showed:

  1. Thorntail and Wildfly docs are identical
  2. OpenLiberty doc has an explode: false property for a parameter object which the spec defined not mandatory, see [2] and a additionalPropertiesSchema property which is not defined by the spec at the moment.

Finally the Wildfly generated document was used as source for third-party tool validation at https://editor.swagger.io/.

All of the above controls status is now GREEN.

[1] https://openliberty.io/guides/microprofile-openapi.html

[2] https://github.com/OAI/OpenAPI-Specification/blob/3.0.2/versions/3.0.0.md#parameter-object