openapi-schema-pydantic icon indicating copy to clipboard operation
openapi-schema-pydantic copied to clipboard

OpenAPI (v3) specification schema as pydantic class

Results 13 openapi-schema-pydantic issues
Sort by recently updated
recently updated
newest added

Inspired by upstream changes: https://github.com/openapi-generators/openapi-python-client/pull/478 Adds a DataType enum. This: Improves validation by rejecting invalid keywords which don't match the spec at parse-time. Improves developer experience, allows IDE autocompletion to...

Hi, @kuimono. Due to various issues with typing and other implementation details we forked this library, on which we rely. This is our fork: https://github.com/starlite-api/pydantic-openapi-schema, you can see the the...

I noticed that ref definitions are not present in the parse_obj result. To reproduce: ``` from typing import * from pydantic import Field from openapi_schema_pydantic import OpenAPI from pydantic.schema import...

Adds a ParameterLocation enum. This: - Improves validation by rejecting invalid keywords which don't match the spec at parse-time. - Improves developer experience, allows IDE autocompletion to show allowed values....

Hey there! I think this library would be a lot more flexible if the models allowed extra fields to be set so arbitrary extensions can be used. This will make...

This is a mostly-straightforward port to Pydantic 2. It takes advantage of Pydantic's new JSON schema mode feature, which can be set to "validation" or "serialization". Tests added and updated...

There doesn't seem to have been any activity on this repo for a while @kuimono - are you still able to maintain it? I'd be happy to help or take...

Hi! Can you change the version of pydantic in the dependencies? There is a vulnerability in this version. https://nvd.nist.gov/vuln/detail/CVE-2021-29510

This breaks some cool cache-logic in the PDM package manager. Any change you could ship a version of this without the test/ folder? Thanks!

I'm not sure if this is an "issue". In fact I don't think it is, but this is a use case scenario. Our input variables are actually defined as pydantic...