Skip to content
#

API

An API can be thought of as an instruction manual for communication between multiple software apparatuses. For example, an API may be used for database communication between web applications. By extracting the implementation and relinquishing data into objects, an API simplifies programming.

Here are 26,587 public repositories matching this topic...

MageJohn
MageJohn commented Dec 28, 2019
  • nvim --version: v0.4.3

Steps to reproduce using nvim -u NORC

nvim -u NORC
:set wildmode=longest,full

Then try and complete a command where 'longest' applies, followed by further presses of <Tab>. For example: :set ba<Tab><Tab>.

Actual behaviour

Wildmenu mode is started as if 'pum' was n

daffodil11
daffodil11 commented Nov 21, 2019

Problem

When following the instructions in the README in the redux example project, a crash occurs.

Input

Here's how I'm using normalizr:
clone this repo
run yarn in the root dir
run yarn in the examples/redux dir
run yarn start

Output

Here's what I expect to see when I run the above:
An inquirer prompt.

Here's what I actually see when I run the above:

> no
postwoman
yippibrian
yippibrian commented May 21, 2019

It looks like most of the advice from the OWASP REST Cheat Sheet is discussed in this API-Security-Checklist, but OWASP talks about the importance of CORS, which is not mentioned at all in this API-Security-Checklist. Probably good to make mention. Also, the OWASP REST Cheat Sheet provides a bit more guidance regarding validation that might be good to incorporate.

https://github.com/OWASP/Che

q946666800
q946666800 commented Dec 10, 2019

版本号

~
1.8.6

什么问题

~
在swagger中设置参数类型为form,但是导入文档后默认body类型为json,需要自己手动修改

如何复现此问题

~

使用springfox-swagger
@ApiImplicitParams({
@ApiImplicitParam(name = "a", value = "参数a的注释", required = true, paramType = "form", defaultValue = "a1")
})
这里注解标示paramType = "form",导入之后参数默认还是为json,需要自己编辑,改为form。

什么浏览器

~
chrome

什么系统(Linux, Windows, macOS)

macOS 10.15.1

ccxt
learn-anything
germanz
germanz commented Dec 10, 2019

When the parent class overrides the inherited method, that method is not documented in the child class. The example below shows 3 classes Shape, ConvexPolygon, Rectangle inheriting from each other respectfully.

/**
 * @class
 */
class Shape {
  /**
   * Returns the area of the shape
   * @publish
   */
  getArea() {}
}

/**
 * @class
 * @extends Shape
 */
class ConvexPolyg
Timunas
Timunas commented Sep 10, 2019

Custom error formatter must have now 5 arguments instead of the old 4. These changes were introduced here on #1652

When migrating from 0.19 to 1.1.0 I had issues on a custom error formatter because the original_exception argument was introduced but that change was not documented on the upgrading guide.

web3.js
edlefebvre
edlefebvre commented Dec 10, 2019

Prerequisites

  • I am running the latest version. (up upgrade)
  • I searched to see if the issue already exists.
  • I inspected the verbose debug output with the -v, --verbose flag.
  • Are you an Up Pro subscriber?

Description

It would be great to add regex capabilities to redirects like so:

redirects: {
  "/folder/:slug(regexhere)": {
    "location": "https
fastapi
pawamoy
pawamoy commented Dec 4, 2019

Is your feature request related to a problem

A docs problem, yes 😛

I want to use HTTPS for my API. The docs suggest to use a Docker Swarm with Traefik and Let's Encrypt. I can't (it's for work). We use a Kubernetes cluster and our own SSL certificates. Then there is a link to the FastAPI project generator, but there are a lot of files in there. I'm not sure to even understand which of

jdelman
jdelman commented Jul 17, 2019

When rotating between landscape/portrait, you can lose your open document and position. I have encountered this issue on an iPhone XS Max running iOS 12.3.1.

Steps to recreate:

  • Search for something.
  • View an article.
  • Rotate into landscape mode (on my iPhone XS Max, this shows the search view and the document view side-by-side)
  • Rotate back to portrait

Expected behavior: Show

Wikipedia
Wikipedia
You can’t perform that action at this time.