# Invalid Phone Master API Specification

**URL:** <https://devforum.zoom.us/t/invalid-phone-master-api-specification/114914>\
**Category:** API and Webhooks\
**Tags:** phone\
**Created:** [August 2, 2024, 7:23pm UTC](https://devforum.zoom.us/t/invalid-phone-master-api-specification/114914 "2024-08-02T19:23:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenchan0130](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kenchan0130/32/62063_2.png) [@kenchan0130](https://devforum.zoom.us/u/kenchan0130)\
**Post date:** [August 2, 2024, 7:23pm UTC](https://devforum.zoom.us/t/invalid-phone-master-api-specification/114914/1 "2024-08-02T19:23:06Z")

</div>

I have noticed that your OpenAPI spec is incorrect in places.  
The following is a log of where errors occurred in [GitHub - ogen-go/ogen: OpenAPI v3 code generator for go](https://github.com/ogen-go/ogen).

```auto
$ ogen -package zoomphone -target zoomphone -clean ZoomPhoneMasterAPISpec.json
  - ZoomPhoneMasterAPISpec.json:55495:25 -> "tokenUrl" MUST be in the form of a URL: parse "": empty url
	  55492 | "flows": {
	  55493 | "authorizationCode": {
	  55494 | "authorizationUrl": "/",
	→ 55495 | "tokenUrl": "",
	  55496 | "refreshUrl": "",
	  55497 | "scopes": {
	  55498 | "phone:master": "phone:master",
	  55499 | "phone:read:list_account_settings:master": "phone:read:list_account_settings:master",

generation failed:
    main.run
        /Users/tadayuki/.go/pkg/mod/github.com/ogen-go/ogen@v1.2.2/cmd/ogen/main.go:377

.....

$ ogen -package zoomphone -target zoomphone -clean ZoomPhoneMasterAPISpec.json
  - ZoomPhoneMasterAPISpec.json:29943:25 -> path parameters must be required
	  29940 | "name": "exceptionRuleId",
	  29941 | "in": "path",
	  29942 | "description": "The exception rule ID.",
	→ 29943 | "required": false,
	  29944 | "schema": {
	  29945 | "type": "string",
	  29946 | "example": "2ypsHHwTTFK-fzZJkudYwA"
	  29947 | }

generation failed:
    main.run
        /Users/tadayuki/.go/pkg/mod/github.com/ogen-go/ogen@v1.2.2/cmd/ogen/main.go:377

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 6, 2025, 11:00am UTC](https://devforum.zoom.us/t/invalid-phone-master-api-specification/114914/2 "2025-08-06T11:00:05Z")

</div>

Closed on August 6, 2025, 11:00am UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
