Azure / Azure/apiops-cli

Changes between 0.4.0-alpha.3 and v1.0.0.0: Null values changed to '' and 24h time values to 12h time values

Open
#262 1 comment 0 reactions 0 assignees View on GitHub
type:bug
Dominant language
TypeScript
Stars
26
Forks
9
Avg merge
1d 1h
Merged PRs (30d)
19

Description

### Command that triggered the bug

apiops publish

### Expected behavior

The extracted values are fine but after publish the values are changes:
Example:
Source JSON:
"firstSeen": "2026-07-11T14:01:26.0000000+00:00",
"lastSeen": "2026-07-11T14:58:54.0000000+00:00",
"zone": null,
Published values:
"firstSeen": "2026-07-11T02:01:26.0000000+00:00",
"lastSeen": "2026-07-11T02:58:54.0000000+00:00",
"zone": '',

### Actual behavior

Null values get replaced with empty string '' and 24h time values are replaced with 12h format values with no AM/PM flag.

### apiops CLI version

1.0.0.0

### Environment details

command runs in a gitlab pipeline on self hosted gitlab runner image: mcr.microsoft.com/dotnet/sdk:6.0
Nodejs version node-v22.14.0-linux-x64

### CI/CD environment

Other

### Is this bug blocking you?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.