Skip to content

Commit

Permalink
CMB-489: remove lob-version header for snap packs
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinmurali committed Feb 26, 2024
1 parent d5080c8 commit f05b62f
Show file tree
Hide file tree
Showing 8 changed files with 1,670 additions and 445 deletions.
701 changes: 690 additions & 11 deletions dist/lob-api-bundled.yml

Large diffs are not rendered by default.

1,347 changes: 956 additions & 391 deletions dist/lob-api-postman.json

Large diffs are not rendered by default.

38 changes: 18 additions & 20 deletions docs/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lob-api-public.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3

Check warning on line 1 in lob-api-public.yml

View workflow job for this annotation

GitHub Actions / Lint (push)

oas3-valid-media-example

This format violates OpenAPI 3.1 rules
info:
title: Lob
version: 1.19.26
version: 1.19.27
description: |
The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. <p>
license:
Expand Down Expand Up @@ -2272,7 +2272,7 @@ tags:
### API Versioning
When backwards-incompatible changes are made to the API, a new dated version
is released. The latest version of the API is version **2020-02-11**.
is released. The latest version of the API is version **2024-01-01**.
All versions prior to, and inclusive of, 2019-02-11 have been sunsetted. You can
view your version and upgrade to the latest version in your
<a href="https://dashboard.lob.com/settings/api-keys" target="_blank">Dashboard Settings</a>. You will
Expand All @@ -2285,7 +2285,7 @@ tags:
```bash
curl https://api.lob.com/v1/addresses \
-u test_0dc8d51e0acffcb1880e0f19c79b2f5b0cc: \
-H "Lob-Version: 2020-02-11"
-H "Lob-Version: 2024-01-01"
```
### Specification Versioning
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lob/openapi",
"version": "1.19.26",
"version": "1.19.27",
"engines": {
"node": ">=14.16.0",
"npm": ">=7.9.0"
Expand Down
16 changes: 0 additions & 16 deletions resources/snap_packs/parameters/lob_version.yml

This file was deleted.

1 change: 0 additions & 1 deletion resources/snap_packs/snap_packs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ post:
parameters:
- $ref: "../../shared/parameters/idempotency.yml#/idem-header"
- $ref: "../../shared/parameters/idempotency.yml#/idem-query"
- $ref: "parameters/lob_version.yml#/lob-version"

requestBody:
required: true
Expand Down

0 comments on commit f05b62f

Please sign in to comment.