Comments (2)
The linked PR generates ref definitions at all json paths and includes example in a client sample spec where one component $refs another component.
from openapi-json-schema-generator.
this it is working in the v2.0.0 release of openapi-json-schema-generator.
That is where further development is being done on the python generator.
Here is the definition of the component schema RefPet
RefPet:
$ref: '#/components/schemas/Pet'
And here is the generated class
from petstore_api.components.schema import pet
RefPet = pet.Pet
from openapi-json-schema-generator.
Related Issues (20)
- [REQ] Feature bounty, add logback logging to the project HOT 8
- [BUG][PYTHON] $ref to remote url is failing with v2.0.0 and higher HOT 6
- [REQ] Update pattern handling to disallow `/pattern/` and `/pattern/flags`
- Java client, adds missing 3.1.0 schema validators HOT 1
- Java client, integrate servers into api configuration
- Java client, create component security schemes HOT 1
- Java client integrate component security schemes into ApiConfiguration
- [Announcement] 2024 Project Ideas HOT 1
- Java client, add requestBody feature
- Java client: add Response Object
- Java client: add Responses
- Java client, add header + serialization implementation
- [BUG] Error transforming enum values beginning with numbers HOT 1
- [REQ] add OAuth2SecurityScheme with the password flow HOT 1
- Java client, add operation
- [BUG][python] Missing quotes for array property in TypedDict definition HOT 2
- [BUG][python] Reference Error when using schema with optional properties HOT 2
- [BUG][python] Validation for nullable property HOT 3
- [REQ][python] Allow type: number format: float to ingest json integers HOT 7
- [REQ] Allow Content Type JSON Lines HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openapi-json-schema-generator.