smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/protocols/HeaderSchemaVisitor.java [43:69]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        this.context = context;
        this.schema = schema;
        this.member = member;
    }

    @Override
    protected Schema getDefault(Shape shape) {
        return schema;
    }

    @Override
    public Schema listShape(ListShape shape) {
        return collection(shape);
    }

    @Override
    public Schema setShape(SetShape shape) {
        return collection(shape);
    }

    // Rewrite collections in case the members contain timestamps, blobs, etc.
    private Schema collection(CollectionShape collection) {
        MemberShape collectionMember = collection.getMember();
        Shape collectionTarget = context.getModel().expectShape(collectionMember.getTarget());
        // Recursively change the items schema and its targets as needed.
        Schema refSchema = context.inlineOrReferenceSchema(collectionMember);
        Schema itemsSchema = collectionTarget.accept(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



smithy-openapi/src/main/java/software/amazon/smithy/openapi/fromsmithy/protocols/QuerySchemaVisitor.java [41:67]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        this.context = context;
        this.schema = schema;
        this.member = member;
    }

    @Override
    protected Schema getDefault(Shape shape) {
        return schema;
    }

    @Override
    public Schema listShape(ListShape shape) {
        return collection(shape);
    }

    @Override
    public Schema setShape(SetShape shape) {
        return collection(shape);
    }

    // Rewrite collections in case the members contain timestamps, blobs, etc.
    private Schema collection(CollectionShape collection) {
        MemberShape collectionMember = collection.getMember();
        Shape collectionTarget = context.getModel().expectShape(collectionMember.getTarget());
        // Recursively change the items schema and its targets as needed.
        Schema refSchema = context.inlineOrReferenceSchema(collectionMember);
        Schema itemsSchema = collectionTarget.accept(
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



