Skip to content

Adding ->fromSchema() related methods #46

@Ilyes512

Description

@Ilyes512

Can I create a PR to add for ->fromSchema() related methods so one can pass cebe\openapi\spec\OpenApi to it.

The reason I would like to do this is because I would like to read the openapi spec from an url and that seems to be possible with:

<?php

$openapi = Reader::readFromYamlFile('https://raw.githubusercontent.com/OAI/OpenAPI-Specification/3.0.2/examples/v3.0/petstore-expanded.yaml');

Let me know if you would accept a PR for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions