Skip to content

Commit

Permalink
adjust specs
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszmarcinkowski committed Oct 31, 2024
1 parent f8e3ac5 commit ffaf2bb
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ properties:
$ref: 'settings_object.yaml'
'@timestamp':
type: number
example: 1730194190636
applied_by_agent:
type: boolean
example: true
etag:
type: string
example: 0bc3b5ebf18fba8163fe4c96f491e3767a358f85
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ type: object
properties:
agentKey:
type: object
required:
- id
- name
- api_key
- encoded
properties:
expiration:
type: integer
Expand All @@ -10,5 +15,7 @@ properties:
type: string
name:
type: string
api_key:
type: string
encoded:
type: string
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
type: object
required:
- '@timestamp'
- service
properties:
'@timestamp':
type: string
service:
type: object
required:
- version
properties:
version:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ properties:
type: object
properties:
annotation:
type: string
type: object
properties:
type:
type: string
title:
type: string
tags:
type: array
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ properties:
etag:
type: string
description: If etags match then `applied_by_agent` field will be set to `true`
example: 0bc3b5ebf18fba8163fe4c96f491e3767a358f85
mark_as_applied_by_agent:
type: boolean
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ type: object
properties:
agentName:
type: string
example: nodejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ type: object
properties:
name:
type: string
example: ALL_OPTION_VALUE
alreadyConfigured:
type: boolean
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ type: object
properties:
name:
type: string
example: node
environment:
type: string
example: prod
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,29 @@ properties:
body:
type: object
properties:
version:
type: number
file:
serviceName:
type: string
sources:
type: array
items:
type: string
sourcesContent:
type: array
items:
type: string
mappings:
serviceVersion:
type: string
sourceRoot:
bundleFilepath:
type: string
sourceMap:
type: object
properties:
version:
type: number
file:
type: string
sources:
type: array
items:
type: string
sourcesContent:
type: array
items:
type: string
mappings:
type: string
sourceRoot:
type: string
- $ref: 'base_source_map_object.yaml'
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ paths:
/api/apm/settings/agent-configuration/search:
$ref: 'paths/api@apm@settings@[email protected]'
/api/apm/settings/agent-configuration/environments:
$ref: 'paths/apm@settings@[email protected]'
$ref: 'paths/api@apm@settings@[email protected]'
/api/apm/settings/agent-configuration/agent_name:
$ref: 'paths/api@apm@settings@agent_configuration@agent_name.yaml'
/api/apm/sourcemaps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ get:
required: true
schema:
type: string
example: node
responses:
'200':
description: Successful response
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ get:
description: Service name
schema:
type: string
example: node
- name: environment
in: query
description: Service environment
schema:
type: string
example: prod
responses:
'200':
description: Successful response
Expand Down

0 comments on commit ffaf2bb

Please sign in to comment.