Build JSON pointers map for OpenApi/Swagger objects
See original GitHub issueRight now we need to manually build path for each property for every rule. We want to do it automatically. For this we need to build JSON pointers map out of OpenApi
/Swagger
objects. Then we can get property pointers from the map instead of building them by their own.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
OpenAPI Specification - Version 3.0.3 - Swagger
An OpenAPI document that conforms to the OpenAPI Specification is itself a JSON object, which may be represented either in JSON or YAML...
Read more >Step 5: The components object (OpenAPI tutorial)
You use a reference pointer ( $ref ) to point to more details in the components ... $ref stands for reference object and...
Read more >OpenAPI Specification v3.1.0 | Introduction, Definitions, & More
4.8.11.1 Fixed Fields; 4.8.11.2 External Documentation Object Example ... SHOULD be interpreted as a JSON-Pointer as per [ RFC6901 ].
Read more >How to use JSON references ($refs) - Redocly
We commonly see incorrect examples usage by reference objects. The OpenAPI specification allows for the examples to have a map of example or ......
Read more >Schema generation rules · GitBook - Goswagger.Io
Loosely speaking, a swagger schema corresponds to a JSONSchema-draft4 schema (see ... rather than map[string]inferface{} (any JSON object, e.g. not arrays).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Pretty sure this is all done now. Shall we close the issue @maxim-tschumak?
@mkulak thanks, you’re right. We ended up using IdentityHashMap too! https://github.com/zalando/zally/blob/openapi3/server/src/main/java/de/zalando/zally/util/OpenApiWalker.kt