Project

General

Profile

Actions

Feature #2228

closed

API: Swagger UI adaptation

Added by Bernhard Koschiček-Krombholz 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Start date:
2024-03-12
Estimated time:

Description

Since it led to confusion, that the server selection show always the demo version first, a adaptation of the OpenApi file is in order.

The idea is, that the current instance is added on the fly to a new OpenAPI file, which then is loaded. So will be always the instance first in the server selection.

Actions #1

Updated by Bernhard Koschiček-Krombholz 8 months ago

  • Status changed from In Progress to Closed

If /swagger is called, it will create a new openapi.json file in the folder files/ (so it won't be tracked by git). This file contains now the instance URL where it is located on the first slot. But since the nature of things, it will only be loaded after an apache2 restart.

Actions

Also available in: Atom PDF