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 47,358 public repositories matching this topic...

public-apis
strapi
hkovacs
hkovacs commented Jun 22, 2020

Describe the bug
Using xframe ALLOW-FROM throws error in console: Invalid 'X-Frame-Options' header encountered when loading 'https://api.dev.mysite.com/uploads/my-file.pdf': 'ALLOW-FROM dev.mysite.com' is not a recognized directive. The header will be ignored.

https://strapi.io/documentation/v3.x/concepts/middlewares.html#response-middlewares
instructions for xframe indicate `ALLOW-FR

fastapi
tiangolo
tiangolo commented Jun 12, 2020

First check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the FastAPI documentation, with the integrated search.
  • I already searched in Google "How to X in FastAPI" and didn't find any information.
  • I already read and followed all the tutorial in the docs and didn't find an answ
directus
baranelitez
baranelitez commented Jul 6, 2021

Describe the Bug

Hi. I've added a repeater interface for my JSON object, and set the fields as follows:
itemid: integer
quantity: integer

When requested from the API, the numbers are returned as strings. Example response:
[{"itemid":"3","quantity":"5","stackable":true}]

Note that the boolean type works correctly as opposed to integers.

To Reproduce

  • Create a collection with
Gornoka
Gornoka commented Aug 20, 2020

Bug Report Checklist

  • [~] Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator, yes I used the validate function of the api generator
  • [5.0.0 ] What's the version of OpenAPI Generator used?
  • Have you search for related issues/PRs?
  • What's the actual output vs expected output?
Wikipedia
Wikipedia