Skip to content

Commit

Permalink
fix(cli): support piping query parameter validation into fern definit…
Browse files Browse the repository at this point in the history
…ion generation & fix file typo. (#5172)

* Feed validation information from typeReference schema into queryParameterSchema.

* typo: FernDefnitionBuilder -> FernDefinitionBuilder

* Add to changelog.

* Fix nit & update ete test snapshot.

* chore: update changelog

* Update test snapshot.

* Update snapshot.

* Update test snapshot.

* Update snapshot.

* Update test snapshot.

* Update test snapshots.

---------

Co-authored-by: fern-bot <fern-bot@users.noreply.github.com>
  • Loading branch information
eyw520 and fern-bot authored Nov 18, 2024
1 parent b3922cc commit d69b2f2
Show file tree
Hide file tree
Showing 44 changed files with 5,229 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/cli/api-importers/commons/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export {
FernDefinitionBuilderImpl,
type FernDefinition,
type HttpServiceInfo
} from "./FernDefnitionBuilder";
} from "./FernDefinitionBuilder";
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,13 @@ types:
"limit": {
"docs": "The number of end user profile records to return",
"type": "optional<integer>",
"validation": {
"exclusiveMax": undefined,
"exclusiveMin": undefined,
"max": 100,
"min": 1,
"multipleOf": undefined,
},
},
},
},
Expand Down Expand Up @@ -687,6 +694,9 @@ service:
limit:
type: optional<integer>
docs: The number of end user profile records to return
validation:
min: 1
max: 100
response:
docs: OK
type: root.EndUsers
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit d69b2f2

Please sign in to comment.