Coder Social home page Coder Social logo

Comments (6)

AlexanderYastrebov avatar AlexanderYastrebov commented on May 17, 2024

Also tried to create only with required name and category:

{"status":422,"title":"Unprocessable Entity","detail":"Field \"schema\" may not be null\nField \"owning_application\" may not be null\n","type":"http://httpstatus.es/422"}

from nakadi.

v-stepanov avatar v-stepanov commented on May 17, 2024

It should be a required field.
We updated the API
https://github.com/zalando/nakadi/blob/nakadi-jvm/api/nakadi-event-bus-api.yaml#L1196

from nakadi.

AlexanderYastrebov avatar AlexanderYastrebov commented on May 17, 2024

Looks like schema is also required

from nakadi.

valgog avatar valgog commented on May 17, 2024

If schema is required, it looks like a bug

On Thu, 10 Mar 2016, 18:00 Alexander Yastrebov, [email protected]
wrote:

Looks like schema is also required


Reply to this email directly or view it on GitHub
#145 (comment).

from nakadi.

AlexanderYastrebov avatar AlexanderYastrebov commented on May 17, 2024

Schema is required.

Request:

{
    "name": "DELME.service.data-change",
    "owning_application": "service",
    "category": "data"
}

Response:

{"status":422,"title":"Unprocessable Entity","detail":"Field \"schema\" may not be null\n","type":"http://httpstatus.es/422"}

from nakadi.

rcillo avatar rcillo commented on May 17, 2024

I'll fix it. This was my first task in the project and I misunderstood this https://github.com/zalando/nakadi/blob/nakadi-jvm/api/nakadi-event-bus-api.yaml#L1198-L1211 as requiring the schema.

But in fact, if present, it should have "schema.schema" field. This is quite confusing since the parent field and the child field have the same name.

You should expect a commit fixing it today.

from nakadi.

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.