Authentication Security Best Practices
valid-server-urltemplate
general > valid-server-urltemplate
Guidance
Your API accepts basic credentials transported over the network. All URLs in the API contract must be proper URLs
in a valid format.
Message
The Server URL '{{core.name}}' must be a valid URL.
Examples
valid
openapi: 3.0.0
info:
title: My API
description: This is a sample API
version: 1.0.0
servers:
- url: https://api.example.com/v1
invalid
openapi: 3.0.0
info:
title: My API
description: This is a sample API
version: 1.0.0
servers:
- url: https://somethinginvalidlikethis:**--++\\.com/v1
Applies to Server