@Override
    public void before(Context<? extends Trait> context, OpenApi.Builder builder) {
        HttpBindingIndex httpBindings = HttpBindingIndex.of(context.getModel());
        context.getModel().shapes(OperationShape.class).forEach(operation -> {
            check(context, httpBindings.getRequestBindings(operation, HttpBinding.Location.PREFIX_HEADERS));
            checkForResponseHeaders(context, httpBindings, operation);
            operation.getErrors().forEach(error -> checkForResponseHeaders(context, httpBindings, error));
        });
    }
Checks for prefix headers in the input or output of an operation,
and handles the settings for throwing an exception or warning if
they're found.

<p>Custom values for this setting need to be handled in a
{@link OpenApiProtocol}.
smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/mappers/CheckForPrefixHeaders.java