question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build JSON pointers map for OpenApi/Swagger objects

See original GitHub issue

Right 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:closed
  • Created 6 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
roxspringcommented, May 26, 2018

Pretty sure this is all done now. Shall we close the issue @maxim-tschumak?

1reaction
mfellnercommented, Mar 21, 2018
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found