Skip to content

Commit

Permalink
Fixed XPathsObject
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaTretyak committed Mar 26, 2021
1 parent f279802 commit 1ad2937
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions versions/3.1/src/extended/paths-object.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { SpecExtFieldPattern, SpecificationExtension } from '../origin/specification-extension';
import { XPathItemObject } from './path-item-object';

/**
Expand Down Expand Up @@ -79,7 +78,7 @@ import { XPathItemObject } from './path-item-object';
* [2]: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#securityFiltering
* [3]: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#specificationExtensions
*/
export type XPathsObject<T extends PathFieldPattern = any, E extends SpecExtFieldPattern = any> = SpecificationExtension<E> & {
export type XPathsObject<T extends PathFieldPattern = any> = {
/**
* A relative path to an individual endpoint. The field name MUST begin with a forward
* slash (`/`). The path is **appended** (no relative URL resolution) to the expanded URL
Expand Down

0 comments on commit 1ad2937

Please sign in to comment.