Giter Site home page Giter Site logo

Comments (8)

thetutlage avatar thetutlage commented on May 29, 2024

Please share the complete schema for this endpoint

from runner.

bnoufel avatar bnoufel commented on May 29, 2024

yes sure

components:
  schemas:
    ClientSchema:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
        email:
          type: string
        companyName:
          type: string
        sirenNumber:
          type: string
        lastName:
          type: string
        firstName:
          type: string
        street:
          type: string
        zipCode:
          type: string
        city:
          type: string
        country:
          type: string
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - id
        - email
        - companyName
        - sirenNumber
        - lastName
        - firstName
        - street
        - zipCode
        - city
        - country
        - createdAt
        - updatedAt

paths:
  /admin/client/{id}:
    get:
      tags:
        - Admin
      summary: Get client
      description: ''
      responses:
        200:
          description: Get client information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientSchema'
        '401':
          description: Not connected
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
        '403':
          description: Forbidden access
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'

from runner.

thetutlage avatar thetutlage commented on May 29, 2024

I suspect the uuid is breaking the OpenAPI parser we use. Can you please temporarily replace the uuid with a number value and see if it still breaks?

from runner.

bnoufel avatar bnoufel commented on May 29, 2024

Yes sorry,

i have the same issue with issue with an number id on migration & Model :/
image

from runner.

thetutlage avatar thetutlage commented on May 29, 2024

Seems weird. Can you please reproduce this issue in a fresh project and share its repo with me?

from runner.

bnoufel avatar bnoufel commented on May 29, 2024

Okay np, i give you the project soon ;)

from runner.

bnoufel avatar bnoufel commented on May 29, 2024

Hi !,

I have a good and bad news 😅

The good one, i found the problem with myself when i create the test project... i just forgot the "s" en client 🤦🏻‍♂️ ahaha so subtle.

But i have an another "bug" with map function juste test x language in "one" time for example, i have a "network error"
you can found the test project here https://github.com/bnoufel/japa-bug (i invite you)

ps: sorry again for the first problem :/

from runner.

stale avatar stale commented on May 29, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from runner.

Related Issues (20)

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.