eclipse / microprofile-open-api

Microprofile open api
Apache License 2.0
131 stars 82 forks source link

How to hide an API by Java code other than annotation @Operation(hidden=true) #486

Closed LinghaoYu closed 3 years ago

LinghaoYu commented 3 years ago

Our application needs to hide different APIs in different environments. Is this doable by implementing public Operation filterOperation(final Operation operation) of OASFilter? I don't see any field for hidden in org.eclipse.microprofile.openapi.models.Operation.