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.

Move fetch api definition feature to Zally API

See original GitHub issue

The web ui currently does the fetching of an api definition which is given via an url by the user. The web ui implements this on server side in Node.

Let’s discuss if we should change our Zally API to also accept links to api definition files. There are different ways of designing this:

  • adding new endpoint only for urls
  • adding new optional field in payload of current api-violations endpoint
  • transparently accepting a link in current api_definitionfield

Looking for feedback from you, @netme @mkulak @rbarilani. Do you wanna have this in Zally API? And if yes, which design do you prefer?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
netmecommented, Mar 22, 2017

Btw, we should also move it out of cli component.

1reaction
fmuellercommented, Mar 22, 2017

Ok, then we’ll go with option 2:

  • adding api_definition_url field
  • making both fields, api_definition and api_definition_url, optional
  • returning BAD_REQUEST if none of them is in the request or both (the API only accepts one field at once)
Read more comments on GitHub >

github_iconTop Results From Across the Web

zally | A minimalistic, simple-to-use API linter
Zally's easy-to-use CLI uses the server in the background so that you can check your API on the spot. It also features an...
Read more >
The Circonus API provides an interface ...
In order to access the Circonus API you must authenticate with a valid API token and App Name. ... Fetch a list of...
Read more >
Shift Left Approach for API Standardization
Zally is a minimalistic and easy to use API-linter. Its standard configuration will check your APIs against the rules defined in Zalando's ...
Read more >
1.1: fetch() - Working With Data & APIs in JavaScript - YouTube
Welcome to Working with Data and APIs in Javascript!This course is for aspiring developers who want to learn how to work with data...
Read more >
Wordpress pods io - Rest API for fetching fields information ...
// The endpoint callback. function prefix_get_pods_fields( WP_REST_Request $request ) { // Get the pod. $pod ...
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