dji-sdk / DJI-Cloud-API-Demo

MIT License
147 stars 105 forks source link

1.10.0 - (also versions before) make swagger UI reachable in secure environments #62

Open neilyoung opened 7 months ago

neilyoung commented 7 months ago

IMHO this change is necessary to make the Swagger UI reachable in secure environment:

https://github.com/dji-sdk/DJI-Cloud-API-Demo/blob/a1c9b037014011a4465fe9ca55dae34f1ceb36a0/cloud-sdk/src/main/java/com/dji/sdk/swagger/SwaggerConfig.java#L21

@OpenAPIDefinition(security = {@SecurityRequirement(name = "default")}, servers = {@Server(url = "/", description = "Default Server URL")})