prance
prance copied to clipboard
Resolving Swagger/OpenAPI 2.0 and 3.0 Parser
updates: - [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0)
When using pip-tools with Flask and prance, there is a conflict between `click` versions: I notice in `setup.py` this is listed as a dependency of `CLI`, which is not used...
## Expected Behavior Validation of yaml/json file should be ok. ### Minimal Example Spec Example of yaml that fails to validate: > File: type: object properties: absoluteFile: $ref: '#/components/schemas/File' absolutePath:...
Hi Team, I tried testing **prance** package on **Arm64** architectures but it is genarating **10 deselected, 1 error** for` pytest -m "not requires_network"` command. The error seems to be **PyICU**...
## Expected Behaviour No warnings when importing prance. ### Minimal Example Spec ## Actual Behaviour ``` /Users/xxx/Library/Caches/pypoetry/virtualenvs/xxx-7R6iqtGQ-py3.10/lib/python3.10/site-packages/prance/__init__.py:173: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. parsed = distutils.version.StrictVersion(spec_version).version ```...
### Discussed in https://github.com/RonnyPfannschmidt/prance/discussions/125 Originally posted by **onikolskyy** February 9, 2022 For some purpose, I would like to parse only the `components` part of a swagger api spec. However, when...
Fixes # . Changes proposed in this PR: - - -
Will fill later. ## Expected Behaviour ### Minimal Example Spec ## Actual Behaviour ## Steps to Reproduce ## Environment - OS: - Python version: - Swagger/OpenAPI version used: - Backend:...
## Expected Behaviour As stated on the [docs](https://swagger.io/docs/specification/data-models/data-types/#readonly-writeonly): > You can use the readOnly and writeOnly keywords to mark specific properties as read-only or write-only. This is useful, for example,...