virtualsatellite / VirtualSatellite4-Core

Virtual Satellite Core - Baseline Framework and IDE Tools
Eclipse Public License 2.0
30 stars 18 forks source link

Fixing issue with OpenAPI spec #1200

Closed PhilMFischer closed 2 months ago

PhilMFischer commented 2 months ago

The OpenAPI spec is generated on the fly from source code3 annotations since release 4.17.

Unfortunately the specs are merged for the project management and the model access api.

This PR fixes this issue by changing the way, the OpenApiResource is configured, which now obeys the needed packages for scanning for the two individual servlets. This also improves speed when scanning the resources for the API annotations.

Closes #1199

⚠️ PR #1198 has to be merged before !!! ⚠️