Skip to content

Implement for json in isRefPointerToSchema() #87

Closed
@SOHELAHMED7

Description

@SOHELAHMED7

File: src/lib/openapi/PropertySchema.php

public function isRefPointerToSchema():bool
    {
        return $this->refPointer &&
            ((strpos($this->refPointer, self::REFERENCE_PATH) === 0) ||
                (str_ends_with($this->uri, '.yml')) || (str_ends_with($this->uri, '.yaml'))); <----- TODO this can be `json` also
    }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions