-
Notifications
You must be signed in to change notification settings - Fork 618
Description
- Feature: MicroProfile OpenAPI 4.1 #30717
Test Strategy
This is a very small release. Changes are minor and are adequately tested by the TCK. Our testing is therefore limited to repeating the existing tests against the new version and running the new TCK.
List of FAT projects affected
- Add MP OpenAPI 4.1 bundles and features #31296
com.ibm.ws.microprofile.openapi_fat
io.openliberty.microprofile.openapi.2.0.internal_fat
io.openliberty.microprofile.openapi.4.0.internal_fat
io.openliberty.jakartaee10.internal_fat
io.openliberty.jakartaee11.internal_fat
- MicroProfile OpenAPI 4.1 Implementation #31368
io.openliberty.microprofile.openapi.4.1.internal_fat_tck
- Fix OpenAPI UI for 3.1 documents + update Swagger UI to
5.22.0
#31712io.openliberty.microprofile.openapi.ui.internal_fat
Test strategy
- New functionality
- Addition of
getJsonSchemaDialect
,setJsonSchemaDialect
andjsonSchemaDialect
to theOpenAPI
model interface- Tested reflectively in
ModelConstructionTest
- Test that
getJsonSchemaDialect
returns the same instance passed tosetJsonSchemaDialect
- Test that
jsonSchemaDialect
returns the model object - Test that
getJsonSchemaDialect
returns the same instance passed tojsonSchemaDialect
- Test that
- Test that the jsonSchemaDialect property can be set in an
OASModelReader
and is reflected in the output OpenAPI document
- Tested reflectively in
- Addition of
getExtension
andhasExtension
to theExtensible
model interface- For every model object which implements
Extensible
- Test that
hasExtension
returnstrue
when the extension with the given name is present andfalse
when it isn't - Test that
getExtension
returns the extension object when the extension with the given name is present andnull
when it isn't
- Test that
- Tested in Add
Extensible.hasExtension
and.getExtension
microprofile/microprofile-open-api#678
- For every model object which implements
- Addition of
- Existing functionality
- Repeat existing OpenAPI FAT tests
- Run new TCK test
- Repeat existing FAT tests for config validation integration
- Repeat existing UI tests with an OpenAPI 3.1 document
- Fix OpenAPI UI for 3.1 documents + update Swagger UI to
5.22.0
#31712 - Should really have done this last release
- Note that UI is included in this feature, but is a separate component that's shared with all other OpenAPI features
- Note that UI has a suite of manual tests run whenever we update it, as well as automated tests
- Fix OpenAPI UI for 3.1 documents + update Swagger UI to
Confidence Level
Collectively as a team you need to assess your confidence in the testing delivered based on the values below. This should be done as a team and not an individual to ensure more eyes are on it and that pressures to deliver quickly are absorbed by the team as a whole.
Please indicate your confidence in the testing (up to and including FAT) delivered with this feature by selecting one of these values:
4 - We have delivered all automated testing we believe is needed for the golden paths of this feature and have good coverage of the error/outlying scenarios. While more testing of the error/outlying scenarios could be added we believe there is minimal risk here and the cost of providing these is considered higher than the benefit they would provide.