rest
A representational state transfer (REST) API is a way to provide compatibility between computer systems on the Internet. The concept was first outlined in a dissertation by Roy Fielding in 2000.
Here are 6,289 public repositories matching this topic...
Given the immense popularity of Docker and the need to harden it different per platform (see ideas below) - we'd like to start writing a Docker best practices section.
You're welcome to contribute ideas and write best practices - writing and brainstorming will people is an amazing way to deepen your Docker understanding.
At first, we want to collect ideas for best practices, solidify a list
Describe the bug
Find-one endpoint /resource/:id
responses with 500 status code instead of 404, this happens with MongoDB setup.
Steps to reproduce the behavior
- Setup Strapi with MongoDB configuration.
- Create a collection (resource).
- Give
findOne
access to the public. - Send a request to
/resource-name/any-invalid-id
.
Expected behavior
404 response.
**Sys
Q&A (please complete the following information)
- Method of installation: [npm, dist assets]
- Swagger-UI version: [>=3.25.1]
- Swagger/OpenAPI versi
In the OpenAPI spec, section "Link Object",
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#linkObject
the "Examples" table following after the text
"The table below provides examples of runtime expressions and examples of their use in a value:"
contains a confusing "note" in the third row, and I think a "note" is missing in the second row.
Proposed changes:
Jumping to a subsection via the sidenav will sometimes cause the page header to overlap the anchor point. When navigation is working correctly, there's a perceptible flicker/jump, so I'm guessing javascript is being used to calculate the offsets. Looking at mkdocs's docs, this isn't an issue. I'm wondering if this is something that will be fixed by upgrading mkdocs (#6623), or if it's a theme issu
Environment
- PostgreSQL version: All
- PostgREST+ version: 6.0.2 (713b214)
Current state
Currently, Comment on Table
COMMENT ON SCHEMA todos IS
'Todos object description';
generate a summary for all operations on this resource
/todos:
get:
tags:
- todos
summary: Todos object description
parameters:
But sum
Is your feature request related to a problem
Coming from this issue: tiangolo/fastapi#817
The docs have some sections with functions using *,
in the parameters.
It is explained here: https://fastapi.tiangolo.com/tutorial/path-params-numeric-validations/#order-the-parameters-as-you-need-tricks
But in other sections like: https://fastapi.tiangolo.com/tutor
What I Want
I want to fixed side menu it should not scrolling with my data.
Description
I have installed react-admin in my react web App project but i am facing side menu scrolling issue. Side menu is scrolling with data.
Steps to reproduce:
I have following the same example that is providing by react-admin and in this example issue can be reproduce on dashboard.
If we will
Currently, we ask contributors to strive for consistency with existing code, but it would be helpful to clarify the following regarding docstrings:
- Docstrings should begin with a short (~70 characters or less) summary line that ends in a period.
- The summary line should begin immediately after the opening quotes (do not add a line break before the summary line)
- The summary line should de
I don't think the code example in the manual that was using a LongParam
and IntParam
in the 1.3.x branch here, but has been updated to a OptionalLong
and OptionalInt
in the 2.0 branch here w
First of all, the following repository has all the code (and description as well) to reproduce this problem: https://github.com/elgleidson/swagger-problem
I have the following JSON:
{
"nonNullableField": "not null",
"nullableField": null,
"nonNullableObjectField": {
"someField": "some value"
},
"nullableObjectField": null,
"nonNullableList": [
"not null"
There is absolutely no documentation (other than "this is how you drop an existing file". What is the point of releasing such a product if you do not document it?
I want to get the updated document from Python Eve via the on_updated callbacks. All I can get right now are the updates and the original. I can update the original myself, but I see from the source code that is done right after the callback.
It would be good if the callback would provide the updated version as well.
Please provide a way to get the UPDATED document since we are using this
-
Updated
May 22, 2020 - Python
See http://blog.erlang.org/ssl-logging-in-otp-22/ for a full description.
One could enable debug logging in Cowboy to see all the packets transmitted and what Cowboy thinks of them, something like that. Could make some client issues obvious in particular.
Description
To be able to optionaly remove the google fonts dependency on any page of the api-platform.
Example
Remove the google font stylesheet in line 8 in the file api-platform\core\src\Bridge\Symfony\Bundle\Resources\views\SwaggerUi\index.html.twig depending on a configuration variable.
Context
I'm working on an intranet application for a 100000+ employees company and
Comparison table
In the future, when Ky is more mature, we should add a comparison table to the readme. Like https://github.com/sindresorhus/got#comparison
Following the instructions here I'm trying to create an endpoint in a Tornado app that shows the API documentation. I'm setting up a static file handler similar to this:
from pathlib import Path
import apistar
from tornado.web import StaticFileHandler
# ...
apistar_static_path = Path(apistar.__file__).par
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue? not relevant
- Have you validated the input using an OpenAPI validator (example)? not relevant
- What's the version of OpenAPI Generator used?
- Have you search for related issues/PRs?
- What's the actual output vs expected output?
I was trying to use REST Assured for the first and was going through the documentation to help me but was getting nowhere. I had put in the correct Maven repository and have copied the relevant classes to be imported but was getting nowhere.
After fiddling around for ages, I had discovered that the classes had to be statically imported but since I had directly copied the classes from the wiki, I
-
Updated
Sep 8, 2019
The current level of code coverage is quite good (~99.7), but it would be amazing to reach 100%.
The current code coverage report can be found in codecov.io.
If you want to get the code coverage in your machine, run the following command
npm run test:coverage-ui
Once complete, it will open a new tab in your browser with the covera
Documentation for #create_pull_request_review and #submit_pull_request_review isn't very intuitive
The documentation for submit-a-pull-request-review and create-a-pull-request-review doesn't really say what the difference is between the two. Both post a PR review to GitHub.
IMO atleast something should be mentioned as to when to use whi
Prerequisites
- Are you running the latest version of
ng-admin
? Yes, running the ng-admin-demo. - Did you check the documentation? Yes.
- Did you [perform a cursory search](https://github.com/issues?utf8=✓&q=is%3Aissue+repo%3Amarmelab%2Fng-admin+rep
It was non-obvious to me that the parameters supplied to the model via the withTransformerParameter would be under a "parameters" key rather than the raw key supplied in the DSL call. I think it would be helpful to have an explicit example in addition to the several request based examples.
I'm happy to raise a PR to the docs if this seems like a good idea.
-
Updated
May 21, 2020 - Go
It's not clear from the website's documentation, or the
--help
output, how to do the following equivalent curl task:Post a raw JSON query to ElasticSearch:
T