Content-Length: 266032 | pFad | http://github.com/python-openapi/openapi-spec-validator/issues/362

F3 How to read from string? · Issue #362 · python-openapi/openapi-spec-validator · GitHub
Skip to content

How to read from string? #362

Open
Open
@luckydonald

Description

@luckydonald

I couldn't find a way to read from a string, without spamming a temporary file.

from openapi_spec_validator import validate

schema_text = """{"openapi": "3.0.0"}"""

schema: Schema = ???(schema_text)

validate(schema)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/python-openapi/openapi-spec-validator/issues/362

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy