Giter VIP home page Giter VIP logo

frostfs-rest-gw's People

Contributors

alexvanin avatar anikeev-yadro avatar aprasolova avatar kirillovdenis avatar realloc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

frostfs-rest-gw's Issues

Invalid swagger base url

Swagger doesnt fetch valid base url

Expected Behavior

Swagger uses actual url as base url

Current Behavior

Swagger uses localhost:8090 as base url

Steps to Reproduce (for bugs)

  1. Open frostfs-dev-env, make up
  2. Go to http://192.168.130.83:8090/v1/docs#/
  3. Try to make any request
  4. Request fails with Failed to fetch, because base url will be localhost:8090 instead of 192.168.130.83:8090

FrostFS Rebranding

After #1

Follow up:

  • Update logo
  • Update README.md
  • Update CONTRIBUTING.md
  • Fix codeowners
  • Change binary name
  • Update makefile
  • Update docker build
  • Update swagger spec

Later:

  • Update testcontainer image in integration test
  • Recreate issues mentioned in code and update links
  • Remove internal mentions of previous project
  • Use system attributes __FROSTFS__ instead of __NEOFS__

Invalid request model for /v1/auth handler in swagger

Swagger generates invalid request model for http://host:8090/v1/docs#/default/auth handler.

Expected Behavior

Swagger generates valid request example for http://host:8090/v1/docs#/default/auth:

[
  {
    "name": "all-object",
    "object": [
...
    ]
  },
  {
    "container": {
      "verb": "PUT"
    },
    "name": "my token to create container"
  }
]

Current Behavior

Swagger generates invalid request example for http://host:8090/v1/docs#/default/auth:

[
  [
    {
      "name": "my-bearer-token",
      "object": [
...
      ]
    },
    {
      "container": {
        "verb": "PUT"
      },
      "name": "my token to create container"
    }
  ]
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.