Commit ddeb1686 authored by Giorgenes Gelatti's avatar Giorgenes Gelatti

Remove pipeline_id from package api

parent c20ef73b
......@@ -81,7 +81,6 @@ Example response:
},
"created_at": "2019-11-27T03:37:38.711Z",
"build_info": {
"pipeline_id": 123,
"pipeline": {
"id": 123,
"status": "pending",
......@@ -104,7 +103,6 @@ Example response:
},
"created_at": "2019-11-27T03:37:38.711Z",
"build_info": {
"pipeline_id": 123,
"pipeline": {
"id": 123,
"status": "pending",
......@@ -159,7 +157,6 @@ Example response:
},
"created_at": "2019-11-27T03:37:38.711Z",
"build_info": {
"pipeline_id": 123,
"pipeline": {
"id": 123,
"status": "pending",
......
......@@ -876,7 +876,6 @@ module EE
extend EntityHelpers
class BuildInfo < Grape::Entity
expose :pipeline_id
expose :pipeline, using: ::API::Entities::PipelineBasic
end
......
......@@ -7,9 +7,8 @@
"package_type": { "type": "string" },
"build_info": {
"type": "object",
"required": ["pipeline_id", "pipeline"],
"required": ["pipeline"],
"properties": {
"pipeline_id": { "type": "integer" },
"pipeline": { "$ref": "../pipeline.json" }
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment